Is there a way to get a log of both HTTP headers and HTTP payload?
(Use case: debugging HTTP interaction that happens in an SSL tunnel, so ethereal won't do.)
no, there isn't any built-in logging of payload. though, it would be easy to add it to the code.
nsHttpConnection::OnWriteSegment is probably the easiest spot in the code to add a logging statement. after mSocketIn->Read(...) returns, buf will contain the decrypted data read from the SSL socket.
http://lxr.mozilla.org/seamonkey/source/netwerk/protocol/http/src/nsHttpConnection.cpp#574
darin
_______________________________________________ Mozilla-netlib mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-netlib
