Cheers Angus I changed to hgSendStream and remove the duplicate SendStream call I was making (probably the cause of the issue) and it works fine now.

gzip investigations next - ta for the pointer

Mega thanks for the quick reply

On 07/08/2013 12:48, Angus Robertson - Magenta Systems Ltd wrote:
I call SendStream() on the connection having created the full
It is usual to set the stream, then:

Flags = hgSendStream

so the component does the hard work.

To be honest I don't know (am struggling to assert) whether the
data is being gzip or not before it is sent.
Gzip is only supported if Server Options includes hoContentEncoding, and the
result is within the size limits allowed, not too small or large.

Use the event ContentEncode to check if the content is being compressed, you
can do it yourself by sending a pre-compressed file.


To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to