Through a lot of trial and error I'll report that changing:
$err:=ITK_TCPRcv ($streamRef;$headerTxt;32000;0;0;<>CRLF+<>CRLF;2*60) `Grab the header...
to
$err:=ITK_TCPRcv ($streamRef;$headerTxt;1024;0;0;<>CRLF+<>CRLF;2*60) `Grab the header...
appears to have a positive affect.
FWIW, I had used 32000 as a conservative measure not knowing how large incoming request headers might be. Therefore, this "fix" does have the potential to break in the future.
I can't see how _headers_ would ever be more than a few K. Headers are just that...headers. There isn't much data in them.
Regards,
- Aparajita
_______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
