You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/09/03 00:02:54 UTC
DO NOT REPLY [Bug 43289] New: - XBitHack full g+x returns zero sized response on If-Modified-Since
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43289>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43289
Summary: XBitHack full g+x returns zero sized response on If-
Modified-Since
Product: Apache httpd-2
Version: 2.2.4
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: mod_include
AssignedTo: bugs@httpd.apache.org
ReportedBy: hno@squid-cache.org
XBitHack full with group execute bit set to enable If-Modified-Since only works
partially. While it adds the Last-Modified header correctly, subsequent requests
using If-Modified-Since results in an empty response (connection closed, no
response headers at all).
The access.log indicates a 304 response was sent however.. but none is sent to
the client.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 43289] - XBitHack full g+x returns zero sized response on If-Modified-Since
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43289>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43289
------- Additional Comments From hno@squid-cache.org 2007-09-02 15:04 -------
strace of an request
accept(3, {sa_family=AF_INET, sin_port=htons(40506),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 8
fcntl64(8, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(8, "GET / HTTP/1.0\r\nIf-Modified-Sinc"..., 8000) = 386
gettimeofday({1188770501, 263022}, NULL) = 0
stat64("/export/www/www.henriknordstrom.net/html/",
{st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
open("/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/export/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/export/www/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/export/www/www.henriknordstrom.net/.htaccess", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/export/www/www.henriknordstrom.net/html/.htaccess", O_RDONLY|O_LARGEFILE)
= -1 ENOENT (No such file or directory)
stat64("/export/www/www.henriknordstrom.net/html/index", 0xbfd0cd8c) = -1 ENOENT
(No such file or directory)
lstat64("/export", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/export/www", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/export/www/www.henriknordstrom.net", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat64("/export/www/www.henriknordstrom.net/html",
{st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
lstat64("/export/www/www.henriknordstrom.net/html/index", 0xbfd0cd8c) = -1
ENOENT (No such file or directory)
open("/export/www/www.henriknordstrom.net/html/",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 9
fstat64(9, {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
getdents64(9, /* 38 entries */, 4096) = 1440
stat64("/export/www/www.henriknordstrom.net/html/index.html",
{st_mode=S_IFREG|0754, st_size=862, ...}) = 0
getdents64(9, /* 0 entries */, 4096) = 0
close(9) = 0
open("/export/www/www.henriknordstrom.net/html/index.html",
O_RDONLY|O_LARGEFILE) = 9
close(9) = 0
read(8, 0x8beeb38, 8000) = -1 EAGAIN (Resource temporarily
unavailable)
write(7, "127.0.0.1 www.henriknordstrom.ne"..., 96) = 96
shutdown(8, 1 /* send */) = 0
poll([{fd=8, events=POLLIN, revents=POLLIN|POLLHUP}], 1, 2000) = 1
read(8, "", 512) = 0
close(8) = 0
read(4, 0xbfd0d087, 1) = -1 EAGAIN (Resource temporarily
unavailable)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 43289] - XBitHack full g+x returns zero sized response on If-Modified-Since
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43289>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43289
jorton@redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From jorton@redhat.com 2007-10-12 03:56 -------
Can you reproduce this with 2.2.6? It seems to work fine with the current
2.2.7-dev branch.
> GET /modules/include/xbithack/full/test.html HTTP/1.1
> User-Agent: curl/7.16.2 (x86_64-redhat-linux-gnu) libcurl/7.16.2
OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.8
> Host: localhost:8529
> Accept: */*
> If-Modified-Since: Mon, 19 Feb 2007 23:48:28 GMT
>
< HTTP/1.1 304 Not Modified
< Date: Fri, 12 Oct 2007 10:55:39 GMT
< Server: Apache/2.2.7-dev (Unix) mod_ssl/2.2.7-dev OpenSSL/0.9.8b DAV/2
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org