httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45507] once in a while, apache forgets to send headers for a binary file.
Date Wed, 30 Jul 2008 20:31:33 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45507


Ruediger Pluem <rpluem@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEEDINFO




--- Comment #4 from Ruediger Pluem <rpluem@apache.org>  2008-07-30 13:31:33 PST ---
(In reply to comment #1)
> truss :
> |truss -p 20322
> accept(4, 0xFFBFE530, 0xFFBFE51C, SOV_DEFAULT) (sleeping...)
> accept(4, 0xFFBFE530, 0xFFBFE51C, SOV_DEFAULT)  = 12
> getsockname(12, 0x001ADEF0, 0x001ADEDC, SOV_DEFAULT) = 0
> fcntl(12, F_GETFL)                              = 2
> fcntl(12, F_SETFL, FWRITE|FNONBLOCK)            = 0
> read(12, 0x001B1E70, 8000)                      Err#11 EAGAIN
> pollsys(0xFFBFE104, 1, 0xFFBFE080, 0x00000000)  = 1
> read(12, " G E T   / t e s t . p d".., 8000)    = 28
> stat64("/space/store/apache.30.Jul/install/htdocs/test.pdf", 0xFFBFE138) = 0
> getpid()                                        = 20322 [20321]
> open("/space/store/apache.30.Jul/install/htdocs/test.pdf",
> O_RDONLY|O_LARGEFILE) = 13
> setsockopt(12, tcp, TCP_CORK, 0xFFBFE294, 4, SOV_DEFAULT) = 0
> writev(12, 0xFFBFE2BC, 1)                       = 261

This is exactly the size of the headers. So writev says that it wrote the
headers to the network. I suspect an OS problem somewhere between TCP_CORK,
writev and sendfilev64. Can you please test this on older Solaris versions
(8, 9, 10) if available and see if this is reproducible there? 

> sendfilev64(1, 12, 0x001AE7D0, 1, 0xFFBFE1A0)   = 313


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message