Project

General

Profile

Actions

Bug #2099

closed

Log-File (connections.c.1253) CLOSE-read() all over the logs

Added by Ben. about 15 years ago. Updated about 15 years ago.

Status:
Duplicate
Priority:
High
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

Hi,

Since 1.2.24 I get these messages in the logs, a lot. Seems at least one for every request. Sooner or later the server crashes.

I will try to downgrade to 1.2.23. Before the problem did not exist.


Related issues 1 (0 open1 closed)

Related to Bug #2091: Disable additional CLOSE-read warningFixed2009-10-26Actions
Actions #1

Updated by nitrox about 15 years ago

  • Status changed from New to Duplicate

I guess you mean 1.4.x. We fixed it already, see www.lighttpd.net. Or use svn repo if you want even more patches since 1.4.24.

Actions #2

Updated by nti about 15 years ago

It seems the patch doesn't work for me (lighty 1.4.24, FreeBSD 6.4) - entries like "(connections.c.1626) CLOSE-read()" persits, although not so often as before.

Actions #3

Updated by Ben. about 15 years ago

nti wrote:

It seems the patch doesn't work for me (lighty 1.4.24, FreeBSD 6.4) - entries like "(connections.c.1626) CLOSE-read()" persits, although not so often as before.

Yes, on FreeBSD 1.4.24 is not fixed at all. I downgraded to 1.4.23 and will wait for the next stable release.

Actions #4

Updated by nti about 15 years ago

Ben. wrote:

Yes, on FreeBSD 1.4.24 is not fixed at all. I downgraded to 1.4.23 and will wait for the next stable release.

But I patched it in the source tree - It should work :-(

Actions #5

Updated by nti about 15 years ago

I found it - there are two points to patch - not only one


--- src/connections.c.orig      2009-10-19 14:15:24.000000000 +0200
+++ src/connections.c   2009-11-16 18:18:57.000000000 +0100
@@ -1250,8 +1250,10 @@

                if (b > 0) {
                        char buf[1024];
+#if 0
                        log_error_write(srv, __FILE__, __LINE__, "sdd",
                                        "CLOSE-read()", con->fd, b);
+#endif

                        /* */
                        read(con->fd, buf, sizeof(buf));
@@ -1621,8 +1623,10 @@
                        }
                        if (b > 0) {
                                char buf[1024];
+#if 0
                                log_error_write(srv, __FILE__, __LINE__, "sdd",
                                                "CLOSE-read()", con->fd, b);
+#endif

                                /* */
                                read(con->fd, buf, sizeof(buf));

Actions #6

Updated by icy about 15 years ago

Use pre html tags. And yea, there are two places that need to be patched. You can use the 1.4.25rc1, it should have them both patched and so far we got not a single complaint.

Actions

Also available in: Atom