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 19:31:00 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45507


Ruediger Pluem <rpluem@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #2 from Ruediger Pluem <rpluem@apache.org>  2008-07-30 12:31:00 PST ---
(In reply to comment #1)

Is this a truss of a case where no headers are sent?

> 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
> sendfilev64(1, 12, 0x001AE7D0, 1, 0xFFBFE1A0)   = 313
> write(9, " 1 2 7 . 0 . 0 . 1   -  ".., 76)      = 76
> shutdown(12, SHUT_WR, SOV_DEFAULT)              = 0
> pollsys(0xFFBFE3B4, 1, 0xFFBFE330, 0x00000000)  = 1
> read(12, 0xFFBFE4A8, 512)                       = 0
> close(12)                                       = 0
> read(7, 0xFFBFE6A3, 1)                          Err#11 EAGAIN
> close(13)                                       = 0
> accept(4, 0xFFBFE530, 0xFFBFE51C, SOV_DEFAULT) (sleeping...)
> 

>From a first glance looks good to me. Maybe some issue with writev and
sendfilev64 not working well together or could this be caused by a bug with
TCP_CORK? What version of Solaris are you using? So far I know TCP_CORK only on
the Linux platform.


-- 
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