/ Zope / Apsis / Pound Mailing List / Archive / 2008 / 2008-02 / Pound Cookie Size Limit in 2.4

[ << ] [ >> ]

[ Allowing active sessions to finish, but not new ... ] [ Pound >2.3.2 won't compile on cygwin anymore / ... ]

Pound Cookie Size Limit in 2.4
"Alfonso Espitia" <aespitia(at)castleworldwide.com>
2008-02-22 22:25:23 [ FULL ]
Hello all, I'm currently running into a problem with Pound 2.4.

It looks like it's rejecting a cookie, but trying to put the request
through anyway.  The content of the cookie is large, but Pound 1.8
didn't seem to have a problem with it (it's been working for about 2
years now, or longer).

I was wondering what the new size limit is in 2.4, and if I had to, how
can I increase it in the source?

Basically, what I see in /var/log/messages is the contents of the cookie
with an error that says "line too long."

Thank you.

--Alfonso


--

Please let me know how CASTLE Worldwide can better serve you.
 
++Contact Information++
   Alfonso Espitia
   Web Developer
   Phone: 919.572.6880 x.6933
   Fax: 919.361.2426
   Email: aespitia(at)castleworldwide.com
   http://www.castleworldwide.com

RE: [Pound Mailing List] Pound Cookie Size Limit in 2.4
"Alfonso Espitia" <aespitia(at)castleworldwide.com>
2008-02-22 22:40:27 [ FULL ]
As a follow-up, I do NOT have the MaxRequest directive specified in the
config file, and according to the man page, it's supposed to be
unlimited.

-----Original Message-----
From: Alfonso Espitia [mailto:aespitia(at)castleworldwide.com] 
Sent: Friday, February 22, 2008 4:25 PM
To: pound(at)apsis.ch
Subject: [Pound Mailing List] Pound Cookie Size Limit in 2.4

Hello all, I'm currently running into a problem with Pound 2.4.

It looks like it's rejecting a cookie, but trying to put the request
through anyway.  The content of the cookie is large, but Pound 1.8
didn't seem to have a problem with it (it's been working for about 2
years now, or longer).

I was wondering what the new size limit is in 2.4, and if I had to, how
can I increase it in the source?

Basically, what I see in /var/log/messages is the contents of the cookie
with an error that says "line too long."

Thank you.

--Alfonso


--

Please let me know how CASTLE Worldwide can better serve you.

++Contact Information++
   Alfonso Espitia
   Web Developer
   Phone: 919.572.6880 x.6933
   Fax: 919.361.2426
   Email: aespitia(at)castleworldwide.com
   http://www.castleworldwide.com

--
To unsubscribe send an email with subject unsubscribe to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.

--
This message has been scanned for viruses and dangerous content by
SecureMail, and is believed to be clean.

Re: [Pound Mailing List] Pound Cookie Size Limit in 2.4
ezahurak(at)atlanticbb.net
2008-02-22 23:15:01 [ FULL ]
Alfonso, this thing bit me not too long ago.  Increase the size of (I think)
the MAXBUF or MAXBUFFERS -- I don't have the code in front of me, it's
something like that -- in (I think)  pound.h , to a value larger that the size
of your largest cookie, and recompile.

Ed Z.
Sent via BlackBerry by AT&T

-----Original Message-----
From: "Alfonso Espitia" <aespitia(at)castleworldwide.com>

Date: Fri, 22 Feb 2008 16:40:27 
To:<pound(at)apsis.ch>
Subject: RE: [Pound Mailing List] Pound Cookie Size Limit in 2.4


As a follow-up, I do NOT have the MaxRequest directive specified in the
config file, and according to the man page, it's supposed to be
unlimited.

-----Original Message-----
From: Alfonso Espitia [mailto:aespitia(at)castleworldwide.com]
Sent: Friday, February 22, 2008 4:25 PM
To: pound(at)apsis.ch
Subject: [Pound Mailing List] Pound Cookie Size Limit in 2.4

Hello all, I'm currently running into a problem with Pound 2.4.

It looks like it's rejecting a cookie, but trying to put the request
through anyway.  The content of the cookie is large, but Pound 1.8
didn't seem to have a problem with it (it's been working for about 2
years now, or longer).

I was wondering what the new size limit is in 2.4, and if I had to, how
can I increase it in the source?

Basically, what I see in /var/log/messages is the contents of the cookie
with an error that says "line too long."

Thank you.

--Alfonso


--

Please let me know how CASTLE Worldwide can better serve you.

++Contact Information++
   Alfonso Espitia
   Web Developer
   Phone: 919.572.6880 x.6933
   Fax: 919.361.2426
   Email: aespitia(at)castleworldwide.com
   http://www.castleworldwide.com

--
To unsubscribe send an email with subject unsubscribe to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.

--
This message has been scanned for viruses and dangerous content by
SecureMail, and is believed to be clean.



--
To unsubscribe send an email with subject unsubscribe to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.

Re: [Pound Mailing List] Pound Cookie Size Limit in 2.4
Axel Sauerhöfer <asauerhoefer(at)nero.com>
2008-02-25 11:23:24 [ FULL ]
Alfonso Espitia schrieb:[...]

Hi,

i checkup the source code from pound 2.3 and hope there are no 
diffrences to 2.4. A single http header like cookie can be max 2048 Byte.
The MAXBUF directive is defined in pound.h line 259. Maybe this is a 
hint for you.

best regards,
axel
[...]

RE: [Pound Mailing List] Pound Cookie Size Limit in 2.4
"Alfonso Espitia" <aespitia(at)castleworldwide.com>
2008-02-25 16:07:26 [ FULL ]
Hello Axel, that did the trick.  It does appear that the MAXBUF in 2.4 went
down though, the source code that I modified had MAXBUF defined as 1024.  I
changed it to 2048 (apparently what it was in 2.3) and the application that was
breaking, now works!

Thank you very much for the tip, maybe someone else can answer why it went down
to 1K, from what I had read online before, max cookie sizes can be up to 4K.  

--Alfonso

-----Original Message-----
From: Axel Sauerhöfer [mailto:asauerhoefer(at)nero.com] 
Sent: Monday, February 25, 2008 5:23 AM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Pound Cookie Size Limit in 2.4
[...]

Hi,

i checkup the source code from pound 2.3 and hope there are no diffrences to
2.4. A single http header like cookie can be max 2048 Byte.
The MAXBUF directive is defined in pound.h line 259. Maybe this is a hint for
you.

best regards,
axel

--
Axel Sauerhöfer

Software Development - Online Technology

Phone +49 7248 928 - 357
Fax +49 7248 928 - 499
http://www.nero.com

NERO - BECAUSE TECHNOLOGY COUNTS
*********************************************************
Nero AG
Im Stoeckmaedle 13-15
76307 Karlsbad
Germany

Vorstand/ Board of Directors: Richard Lesser (CEO), Udo Eberlein (COO), Charly
Lippoth (CTO) Aufsichtsratvorsitzender/ chairman of the supervisory board: Jim
Corbett

Amtsgericht Mannheim HRB 362519
*********************************************************
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
*********************************************************

MailBoxer