Project

General

Profile

Actions

Bug #96

closed

SVN169: Error reading from socket (FreeBSD)

Added by Anonymous over 16 years ago. Updated over 14 years ago.

Status:
Fixed
Priority:
Urgent
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

On FreeBSD 5.4-STABLE, since Subversion tag 169, lighttpd gives me error socket when retrieving any page : `elinks -dump http://localhost:8180/index.html`

It worked at tag 165 (166-168 contains only miscellaneous changes).

From ktrace I got this suspicious log if this can help you :


 79009 lighttpd RET   writev 216/0xd8
 79009 lighttpd CALL  write(0x6,0x806a300,0x70)
 79009 lighttpd GIO   fd 6 wrote 112 bytes
       "2005-04-14 19:40:36: (network_freebsd_sendfile.c.138) No such file or \
        directory /usr/local/www/data/index.html
       " 
 79009 lighttpd RET   write 112/0x70
 79009 lighttpd CALL  write(0x6,0x806a300,0x52)
 79009 lighttpd GIO   fd 6 wrote 82 bytes
       "2005-04-14 19:40:36: (connections.c.470) connection closed: write fail\
        ed on fd 7
       " 

-- anthony.ginepro

Actions #1

Updated by jan over 16 years ago

  • Status changed from New to Assigned

Does the following change help:

network_freebsd_sendfile.c:137

if (HANDLER_GO_ON != file_cache_check_entry(srv, fce)) {

instead of

if (file_cache...

Actions #2

Updated by jan over 16 years ago

  • Status changed from Assigned to Fixed
  • Resolution set to fixed

fixed in the changeset r316

Actions

Also available in: Atom