http://bugzilla.spamassassin.org/show_bug.cgi?id=3917
------- Additional Comments From [EMAIL PROTECTED] 2004-11-21 03:51 ------- I seem to be confused about what perl is doing. Now that I am back to looking at the behavior in perl again in spamd, I see that no matter what I do if spamd does print $client $msg_resp; where $msg_resp is long (e.g., 70,000 bytes) the message that is received is likely to be truncated, even if I sleep(5) before a $client->shutdown(2). The only way to keep from losing data is to split up $msg_resp into chunks and print each one separately followed by a sleep(1). That behavior does not match what I narrowed this down to. Is it possible that perl buffers the output to the socket so it doesn't really get sent until shutdown is called, but it does send out the buffer during a sleep? Speaking of which, it is time for me to sleep before thinking about this any more. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
