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
Webserver
- Dave Zowasky
- Posts: 125
- Joined: Wed Oct 19, 2005 2:28 pm
- Location: Hudson Ohio
- Contact:
Webserver
Dave Zowasky
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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.
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.
- Dave Zowasky
- Posts: 125
- Joined: Wed Oct 19, 2005 2:28 pm
- Location: Hudson Ohio
- Contact:
Antonio,
Thanks much for the details.
Thanks much for the details.
Dave Zowasky
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771