FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Webserver
Posts: 125
Joined: Wed Oct 19, 2005 02:28 PM
Webserver
Posted: Sun Sep 30, 2007 04:25 PM

Hello All,

I have been doing a lot of work as of late using the webserver class
and have added a hook to the OnPost function so that I can manipulate
that data and react to it as it is coming in. I am scanning the boundry tags
to keep things together on uploads. For the most part it seems to
work fine untill I post larger files to it (35K).

It seems that the OnRead takes over at some point in the middle of the
process and the OnPost delivers about 8K of the data. I can see the rest of it coming in the log so it is getting there. It looks like I might need to come up with a way to get these two functions to mesh. Before I do all that work
I was wondering if any one had any suggestions.

Thanks

Dave Zowasky
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Webserver
Posted: Mon Oct 01, 2007 04:38 AM

Dave,

We haven't done any further Class TWebServer development, waiting to have full multithread support on Harbour. As far as we know (based on Przemek comments) xHarbour multithreading does not work fine or has potential problems.

The idea is that the Class TWebServer code just attend only "one" client. But using multithreading can attend as many "one"s as required, simultaneously (and using the same code), as a webserver must do.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 125
Joined: Wed Oct 19, 2005 02:28 PM
Webserver
Posted: Mon Oct 01, 2007 05:27 PM

Antonio,

Thanks much for the details.

Dave Zowasky
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771

Continue the discussion