[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mpop-users] pipelining=off not working?



On Wed, 10 Jan 2007, Martin Lambers wrote:

> On Tue, 09. Jan 2007, 23:54:35 -0600, Jeremy C. Reed wrote:
> > Can the mpop --pipelining option still be honored either way though? It 
> > seems like if the mpop user wants to turn it off, then it should turn off.
> > 
> > As it is now, the manual page is unclear. It should say the option is 
> > ignored if the POP3 server announces it has PIPELINING capability.
> 
> Mpop can do the right thing automatically with all POP3 servers that
> support CAPA. There should be no need for the user to change that.
> I think this should remain the default behaviour.

Can you use this at least?

--- src/pop3.c.orig	2006-09-22 20:35:03.000000000 -0500
+++ src/pop3.c	2007-01-09 20:29:22.000000000 -0600
@@ -89,8 +88,12 @@
  * begin to read its answers, and refill the command pipeline when the number of
  * unanswered commands drops to PIPELINE_MIN.
  */
+#ifndef POP3_PIPELINE_MIN
 #define POP3_PIPELINE_MIN	20
+#endif
+#ifndef POP3_PIPELINE_MAX
 #define POP3_PIPELINE_MAX	100
+#endif
 
 
 /*

> But I agree that the manual page is unclear about this. The texinfo 
> documentation is better. I updated the man page accordingly. Thanks for 
> the suggestion!

Thanks