SSL Problems with 0.7.[78]
Aleksandar Lazic
al-nginx at none.at
Thu Aug 7 23:31:47 MSD 2008
On Don 07.08.2008 21:20, Aleksandar Lazic wrote:
> On Don 07.08.2008 19:05, Steffen Weber wrote:
>> Aleksandar Lazic wrote:
>>> Please can you provide us with a debug log?
>>
>> I have uploaded one here: http://steffenweber.net/files/nginx-debug.log
>>
>> The server that I have used to generate the debug log runs PHP 5.3.0
>> Alpha 1, but on our production server the same problem occurs with PHP
>> 5.2.6.
>>
>> After about one minute Firefox finally displays the page. At this
>> point some timeout event occurs in nginx:
>>
>> 2008/08/07 17:27:18 [info] 7791#0: *106 client timed out (110:
>> Connection timed out) while reading client request line
>>
>> Hope that helps.
>
> Many thanks.
>
> I don't see the bug, I hope Igor can help here more.
Wait there was a change in src/event/ngx_event_openssl.c
###
diff -ru nginx-0.7.6/src/event/ngx_event_openssl.c nginx-0.7.7/src/event/ngx_event_openssl.c
--- nginx-0.7.6/src/event/ngx_event_openssl.c 2008-06-20 16:42:54.000000000 +0200
+++ nginx-0.7.7/src/event/ngx_event_openssl.c 2008-07-30 08:12:30.000000000 +0200
@@ -505,6 +505,9 @@
if (n == 1) {
+ c->read->ready = 0;
+ c->write->ready = 1;
+
if (ngx_handle_read_event(c->read, 0) == NGX_ERROR) {
return NGX_ERROR;
}
###
Due the fact that I'am not so deep in the development, I don't know what
happen when you remove tis ;-)
Cheers
Aleks
More information about the nginx
mailing list