|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2004
/
2004-03
/
hung-up problem (Pound-1.7)
[
Apache keep-alive settings? / "Corey ... ]
[
Re: hung-up problem (Pound-1.7) / Robert Segall ... ]
hung-up problem (Pound-1.7)
"Yoshinori TAKESAKO" <y_takesako(at)dreamarts.co.jp> |
2004-03-30 15:11:03 |
[ SNIP ]
|
Hi,
I saw that Pound has hung-up problem in Pound-1.7.
I downloaded and tried it today.
* hung-up problem (only Pound-1.7)
When the Pound upgraded to 1.7 from 1.6, did not call poll()
exactly at listening both HTTP and HTTPS port.
So Pound seems to be going on hung-up at receiving HTTP request.
If you write the following configuration at pound.cfg, an error occurs.
e.g.
------------------------------------------
ListenHTTP *,80
ListenHTTPS *,443 /etc/pound/server.pem
------------------------------------------
This is the bug of main() at "pound.c".
Checking the value of "polls[n].revents" while working loop,
but the variable of "n" is used temporarily.
The variable of "n" might be destroyed at that time.
* How to apply this patch?
For your information, this patch corrects calling poll().
Save the Pound-1.7-fix_poll.patch.
# wget http://namazu.org/~takesako/pound/Pound-1.7-fix_poll.patch
# tar zxvf Pound-1.7.tgz
# cd Pound-1.7
# patch -p1 < ../Pound-1.7-fix_poll.patch
Best regards,
--
Yoshinori TAKESAKO
Namazu Project / DreamArts Corporation (Tokyo, Japan)
|
|
|
Re: hung-up problem (Pound-1.7)
"Simon Matter" <simon.matter(at)ch.sauter-bc.com> |
2004-03-30 15:46:32 |
[ SNIP ]
|
Thank you very much!
I have reported this error last week but was unable to find the solution.
The problem was that the hung-up connection bug only happened on Linux
with openssl-0.9.6. Linux with openssl-0.9.7 or FreeBSD with any openssl
version worked okay.
Simon
> Hi,
>
> I saw that Pound has hung-up problem in Pound-1.7.
> I downloaded and tried it today.
>
> * hung-up problem (only Pound-1.7)
>
> When the Pound upgraded to 1.7 from 1.6, did not call poll()
> exactly at listening both HTTP and HTTPS port.
> So Pound seems to be going on hung-up at receiving HTTP request.
>
> If you write the following configuration at pound.cfg, an error occurs.
> e.g.
> ------------------------------------------
> ListenHTTP *,80
> ListenHTTPS *,443 /etc/pound/server.pem
> ------------------------------------------
>
> This is the bug of main() at "pound.c".
> Checking the value of "polls[n].revents" while working loop,
> but the variable of "n" is used temporarily.
> The variable of "n" might be destroyed at that time.
>
> * How to apply this patch?
>
> For your information, this patch corrects calling poll().
>
> Save the Pound-1.7-fix_poll.patch.
>
> # wget http://namazu.org/~takesako/pound/Pound-1.7-fix_poll.patch
> # tar zxvf Pound-1.7.tgz
> # cd Pound-1.7
> # patch -p1 < ../Pound-1.7-fix_poll.patch
>
> Best regards,
>
> --
> Yoshinori TAKESAKO
> Namazu Project / DreamArts Corporation (Tokyo, Japan)
>
|
|
|
Re: hung-up problem (Pound-1.7)
Thomas Ritz <info(at)ritze.com> |
2004-03-31 11:20:26 |
[ SNIP ]
|
Hallo,
Yoshinori TAKESAKO wrote:
> * hung-up problem (only Pound-1.7)
Yesterday we started to test Pound-1.7 and had have also the problem
with http-requests.
> * How to apply this patch?
Thanks very mutch. Works fine :)
Regards,
ritze
|
|
|
|