I'm trying to figure out if there's a bug in the "chunked" response parsing in CL_HTTPServerConnection::read_request_data() wrt the trailer handling. Per http://www.w3.org/Protocols/rfc2616/....html#sec3.6.1 trailer is optional and if not used just presents a \r\n sequence. However, the code below throws, as read_lines returns false with a \r\n\r\n hit, afaict.

(Shoule that be read_line instead?)

from http_client_connection.cpp approx line 406...

	CL_String8 trailer;
	if (CL_HTTPServer_Impl::read_lines(impl->connection, trailer) == false)
		throw CL_Exception(cl_text("Premature end of HTTP response data"));