Hi,
In order to reproduce the bug connect with THttpCli and assign the
following byte range:
ContentRangeBegin := some valid value;
ContentRangeEnd := file size;
The THttpServer will enter an infinite loop!
What I do not know is whether the range above should be treated
as a valid range or not (looks rather valid to me, however I did not read
the RFC).
Anyway the THttpServer treats it as error in THttpConnection.SendDocument:
{ Error in Range-definition }
ProtoNumber := 416;
ErrorSend := True;
But ConnectionDataSent triggers infinitely due to FDocBuf is nil.
--
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be