Webserver

Webserver

Postby Dave Zowasky » Sun Sep 30, 2007 4: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
User avatar
Dave Zowasky
 
Posts: 125
Joined: Wed Oct 19, 2005 2:28 pm
Location: Hudson Ohio

Postby Antonio Linares » Mon Oct 01, 2007 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42103
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Dave Zowasky » Mon Oct 01, 2007 5:27 pm

Antonio,

Thanks much for the details.
Dave Zowasky
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771
User avatar
Dave Zowasky
 
Posts: 125
Joined: Wed Oct 19, 2005 2:28 pm
Location: Hudson Ohio


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 93 guests