> > Using non-blocking openssl , after detecting underlying TCP is broken, i > invoke SSL_read to attempting reading response. *sometimes* response from > server is lost, sometimes not. But tcpdump show that response is always > send back to me. what is special is that RST packages come next the > response. Can someone shed some light on me, Thanks.Here is the result of > tcpdump: > >> 16:18:00.168274 IP 17.143.161.207.2195 > xx.xxx.xx.xx.43361: Flags [P.], seq 4764:4801, ack 37462, win 432, option s [nop,nop,TS val 1248125705 ecr 2355901348], length 37 0x0000: 4500 0059 c936 4000 3006 14ba 118f a1cf E..Y.6 at .0....... 0x0010: b73c 0214 0893 a961 1e10 133f 2197 3724 .<.....a...?!.7$ 0x0020: 8018 01b0 245e 0000 0101 080a 4a64 e309 ....$^......Jd.. 0x0030: 8c6c 33a4 1503 0100 2012 a99f e30c 37aa .l3...........7. 0x0040: eda1 e24a 1819 74cb 1a73 2396 f76e b9fa ...J..t..s#..n.. 0x0050: 293b 8625 8a9d 09a7 30 );.%....016:18:00.168326 IP 17.143.161.207.2195 > xx.xxx.xx.xx.43361: Flags [R.], seq 4801, ack 37462, win 498, options [no p,nop,TS val 1248125705 ecr 2355901348], length 0 0x0000: 4500 0034 c937 4000 3006 14de 118f a1cf E..4.7 at .0....... 0x0010: b73c 0214 0893 a961 1e10 1364 2197 3724 .<.....a...d!.7$ 0x0020: 8014 01f2 de75 0000 0101 080a 4a64 e309 .....u......Jd.. 0x0030: 8c6c 33a4 .l3. -- Anty Rao -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20151202/2fe09b0e/attachment-0001.html>