Hello All! I need an advice on how to handle keep-alive and possibly pipe-lined connections. Am I right that the only direction on when a requested document is filly received is the value of the Content-Length header? If so, what to do if the Content-Length is missing? I need to fire OnHeader/DocBegin and OnHeader/DocEnd events properly, and yet sometimes a server (even IIS) returns a HTTP-header without a content-length value. The connection should be kept alive, but all subsequent data flow becomes screwed up in the manner that documents are hardly to extract in a reliable way. Should I parse all incoming data for searching for next headers? Or Am I missing something?
Thanks in advance. Best wishes, Stanislav Korotky. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be