Skip to content
Snippets Groups Projects
Commit 85ac9a5f authored by rswindell's avatar rswindell
Browse files

Added a debug-level log msg ever 100 lines of received SMTP message text.

parent 1dfd676e
No related branches found
No related tags found
No related merge requests found
......@@ -3801,6 +3801,9 @@ static void smtp_thread(void* arg)
if(startup->lines_per_yield &&
!(lines%startup->lines_per_yield))
YIELD();
if((lines%100) == 0 && (msgtxt != NULL))
lprintf(LOG_DEBUG,"%04d SMTP received %lu lines (%lu bytes) of body text"
,socket, lines, ftell(msgtxt)-hdr_len);
continue;
}
/* RFC822 Header parsing */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment