Hello all, I have a question concerning Keep-Alives. I'm writing a SSL proxy (which is working great except for this issue) and every time I got to attach a file in an email the connection resets, and it gets caught in an infinite retransmit loop. I've tested it with Gmail, and also with the outlook here at the office. I can attach a small file (17KB tested) but when I venture to a larger file (say 469KB for the image I'm testing) the connection will never complete, and will continue to reset the transmission, and loop. This behavior is only implemented in Firefox. In the other browsers it seems to fail out with some error about unexpected reset. Is there some parameter that I can set when establishing the SSL connection that will allow me to wait for larger transfers without reseting?
Here is a sample of what I mean, this is the SSL_write() method output (caution: long): POST /mail/?<url omitted for safety> HTTP/1.1 Host: mail.google.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.19) Gecko/2010072022 Iceweasel/3.0.6 (Debian-3.0.6-3) <Firefox on x64 debian, fails on windows too> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: https://mail.google.com/mail/?ui=2&view=bsp&ver=ohhl4rw8mbn4 Cookie: <omitted for privacy> Content-Type: multipart/form-data; boundary=---------------------------671339629238101832741976743 Content-Length: 481618 -----------------------------671339629238101832741976743 Content-Disposition: form-data; name="to" "jim" <someem...@gmail.com>, -----------------------------671339629238101832741976743 Content-Disposition: form-data; name="cc" -----------------------------671339629238101832741976743 Content-Disposition: form-data; name="bcc" -----------------------------671339629238101832741976743 Content-Disposition: form-data; name="subject" Test Attach Again -----------------------------671339629238101832741976743 Content-Disposition: form-data; name="f_gddktpet0"; filename="mario.jpg" Content-Type: image/jpeg <FF><D8><FF><E0> <B3><BD><AA>^Y<C9>o{<B1><F4><C0>Z<U+0526>]<DA>^A^?<87><87>1^B/A<CB><E2>^D9<E6><FA><B0><A9><BB><D4>^_<E1><B9>w<C1><CE>+W <BF>[<F6>n<BD>7<BD>Y<9B><F3>z<EE>7`:<ED><E8>{<BB><U+061C>y <CE><D4><F9><ED>q<D0>ތ<ED>[^V&ʎ#<CF><D7>^Q <B9>e<F2>y...@ajb^t<A9>u<C5> And then the process repeats nearly word for word. However when I attach a smaller image it works perfectly and instead of repeating a get a server HTTP/1.1 200 OK message. Any information would be appreciated. Thank you. -Sam -- Sam Jantz Software Engineer