[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#140565: marked as done (apache: Apache caching confused by 304 from IIS 5.0)



Your message dated Wed, 16 Sep 2009 21:32:46 +0100
with message-id <1253133166.931094.3603.nullmailer@kmos.homeip.net>
and subject line Package apache has been removed from Debian
has caused the Debian Bug report #140565,
regarding apache: Apache caching confused by 304 from IIS 5.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
140565: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=140565
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache
Version: 1.3.23-1
Severity: normal

The following exchange leads to Apache offering zero-length objects:

08:55:59.523777 217.83.92.79.33004 > 209.131.227.218.www: P 1:876(875) ack 1 win 5440 <nop,nop,timestamp 254435972 0> (DF)
0x0000	 4500 039f 1b88 4000 4006 30d0 d953 5c4f	E.....@.@.0..S\O
0x0010	 d183 e3da 80ec 0050 b829 79f8 cdaa 418e	.......P.)y...A.
0x0020	 8018 1540 05ba 0000 0101 080a 0f2a 6284	...@.........*b.
0x0030	 0000 0000 4745 5420 2f57 3230 3032 3035	....GET./W200205
0x0040	 2f30 3734 3334 3335 3333 385f 5f5f 312e	/0743435338___1.
0x0050	 6874 6d20 4854 5450 2f31 2e30 0d0a 486f	htm.HTTP/1.0..Ho
0x0060	 7374 3a20 7777 772e 7765 6273 6372 6970	st:.www.webscrip
0x0070	 7469 6f6e 2e6e 6574 0d0a 4163 6365 7074	tion.net..Accept
0x0080	 3a20 696d 6167 652f 6769 662c 2069 6d61	:.image/gif,.ima
0x0090	 6765 2f78 2d78 6269 746d 6170 2c20 696d	ge/x-xbitmap,.im
0x00a0	 6167 652f 6a70 6567 2c20 696d 6167 652f	age/jpeg,.image/
0x00b0	 706a 7065 672c 2069 6d61 6765 2f70 6e67	pjpeg,.image/png
0x00c0	 2c20 2a2f 2a0d 0a41 6363 6570 742d 4368	,.*/*..Accept-Ch
0x00d0	 6172 7365 743a 2069 736f 2d38 3835 392d	arset:.iso-8859-
0x00e0	 312c 2a2c 7574 662d 380d 0a41 6363 6570	1,*,utf-8..Accep
0x00f0	 742d 456e 636f 6469 6e67 3a20 677a 6970	t-Encoding:.gzip
0x0100	 0d0a 4163 6365 7074 2d4c 616e 6775 6167	..Accept-Languag
0x0110	 653a 2064 652d 4445 2c20 6465 2c20 6465	e:.de-DE,.de,.de
0x0120	 2d41 542c 2064 652d 4348 2c20 656e 2d55	-AT,.de-CH,.en-U
0x0130	 532c 2065 6e2d 4742 2c20 656e 0d0a 436f	S,.en-GB,.en..Co
0x0140	 6f6b 6965 3a20 6557 5330 3734 3334 3335	okie:.eWS0743435
0x0150	 3334 3646 6f6e 7449 6e64 6578 3d30 3b20	346FontIndex=0;.
0x0160	 6557 5330 3734 3334 3335 3334 3646 6f6e	eWS0743435346Fon
0x0170	 7453 697a 6549 6e64 6578 3d33 3b20 5349	tSizeIndex=3;.SI
0x0180	 5445 5345 5256 4552 3d49 443d 3937 3930	TESERVER=ID=9790
0x0190	 3061 6132 6534 6639 3030 3634 3536 3935	0aa2e4f900645695
0x01a0	 3730 3763 3962 3238 6333 3836 3b20 466f	707c9b28c386;.Fo
0x01b0	 726d 7341 7574 683d 7049 5142 322b 4d62	rmsAuth=pIQB2+Mb
0x01c0	 4c2b 5551 5747 4957 7435 6f68 6245 4e35	L+UQWGIWt5ohbEN5
0x01d0	 4f56 5744 6236 5538 6177 426f 4144 4941	OVWDb6U8awBoADIA
0x01e0	 4e41 4132 4144 4141 4d77 4134 4141 4141	NAA2ADAAMwA4AAAA
0x01f0	 3b20 4153 5053 4553 5349 4f4e 4944 4751	;.ASPSESSIONIDGQ
0x0200	 5151 515a 5a51 3d44 4441 4b42 444e 424f	QQQZZQ=DDAKBDNBO
0x0210	 4843 4e43 4c4d 4a4b 4a47 4a47 4e43 413b	HCNCLMJKJGJGNCA;
0x0220	 2041 5350 5345 5353 494f 4e49 4447 5147	.ASPSESSIONIDGQG
0x0230	 4747 4246 433d 4d48 484e 4144 4e42 414c	GGBFC=MHHNADNBAL
0x0240	 4e4b 4944 464f 4649 4546 4d4f 4e49 0d0a	NKIDFOFIEFMONI..
0x0250	 5072 6167 6d61 3a20 6e6f 2d63 6163 6865	Pragma:.no-cache
0x0260	 0d0a 5265 6665 7265 723a 2068 7474 703a	..Referer:.http:
0x0270	 2f2f 7777 772e 7765 6273 6372 6970 7469	//www.webscripti
0x0280	 6f6e 2e6e 6574 2f57 3230 3032 3035 2f30	on.net/W200205/0
0x0290	 3734 3334 3335 3333 385f 746f 632e 6874	743435338_toc.ht
0x02a0	 6d0d 0a55 7365 722d 4167 656e 743a 204d	m..User-Agent:.M
0x02b0	 6f7a 696c 6c61 2f34 2e37 3720 5b65 6e5d	ozilla/4.77.[en]
0x02c0	 2028 5831 313b 2055 3b20 4c69 6e75 7820	.(X11;.U;.Linux.
0x02d0	 322e 342e 3138 2d70 7265 372b 6b61 692e	2.4.18-pre7+kai.
0x02e0	 3534 2069 3538 3629 0d0a 4966 2d4d 6f64	54.i586)..If-Mod
0x02f0	 6966 6965 642d 5369 6e63 653a 2053 6174	ified-Since:.Sat
0x0300	 2c20 3136 204d 6172 2032 3030 3220 3032	,.16.Mar.2002.02
0x0310	 3a30 373a 3136 2047 4d54 0d0a 4966 2d4e	:07:16.GMT..If-N
0x0320	 6f6e 652d 4d61 7463 683a 2022 3130 3931	one-Match:."1091
0x0330	 3831 3462 3866 6363 6331 313a 3863 3222	814b8fccc11:8c2"
0x0340	 0d0a 5669 613a 2031 2e30 206b 686d 732e	..Via:.1.0.khms.
0x0350	 7765 7374 6661 6c65 6e2e 6465 2028 4170	westfalen.de.(Ap
0x0360	 6163 6865 2f31 2e33 2e32 3329 0d0a 582d	ache/1.3.23)..X-
0x0370	 466f 7277 6172 6465 642d 466f 723a 2031	Forwarded-For:.1
0x0380	 3237 2e30 2e30 2e31 0d0a 436f 6e6e 6563	27.0.0.1..Connec
0x0390	 7469 6f6e 3a20 636c 6f73 650d 0a0d 0a  	tion:.close....
08:55:59.765836 209.131.227.218.www > 217.83.92.79.33004: P 1:142(141) ack 876 win 16805 <nop,nop,timestamp 13309758 254435972> (DF)
0x0000	 4500 00c1 b76c 4000 7706 60c9 d183 e3da	E....l@.w.`.....
0x0010	 d953 5c4f 0050 80ec cdaa 418e b829 7d63	.S\O.P....A..)}c
0x0020	 8018 41a5 e8ef 0000 0101 080a 00cb 173e	..A............>
0x0030	 0f2a 6284 4854 5450 2f31 2e31 2033 3034	.*b.HTTP/1.1.304
0x0040	 204e 6f74 204d 6f64 6966 6965 640d 0a53	.Not.Modified..S
0x0050	 6572 7665 723a 204d 6963 726f 736f 6674	erver:.Microsoft
0x0060	 2d49 4953 2f35 2e30 0d0a 4461 7465 3a20	-IIS/5.0..Date:.
0x0070	 5361 742c 2033 3020 4d61 7220 3230 3032	Sat,.30.Mar.2002
0x0080	 2030 373a 3535 3a35 3420 474d 540d 0a45	.07:55:54.GMT..E
0x0090	 5461 673a 2022 3130 3931 3831 3462 3866	Tag:."1091814b8f
0x00a0	 6363 6331 313a 3863 3222 0d0a 436f 6e74	ccc11:8c2"..Cont
0x00b0	 656e 742d 4c65 6e67 7468 3a20 300d 0a0d	ent-Length:.0...
0x00c0	 0a                                     	.

IIS is violating MUST rules in the HTTP protocol (RFC 2626) here, but
Apache really shouldn't let itself be confused by that:

-- snip --
4.3 Message Body

[...]

   The presence of a message-body in a request is signaled by the
   inclusion of a Content-Length or Transfer-Encoding header field in
   the request's message-headers. A message-body MUST NOT be included in
   a request if the specification of the request method (section 5.1.1)
   does not allow sending an entity-body in requests. A server SHOULD
   read and forward a message-body on any request; if the request method
   does not include defined semantics for an entity-body, then the
   message-body SHOULD be ignored when handling the request.

   For response messages, whether or not a message-body is included with
   a message is dependent on both the request method and the response
   status code (section 6.1.1). All responses to the HEAD request method
   MUST NOT include a message-body, even though the presence of entity-
   header fields might lead one to believe they do. All 1xx
   (informational), 204 (no content), and 304 (not modified) responses
   MUST NOT include a message-body. All other responses do include a
   message-body, although it MAY be of zero length.
-- snip --

So: that "Content-Length: 0" header field is strictly illegal. And I bet  
that's exactly what's causing the problem.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux khms.westfalen.de 2.4.18-pre7+kai.54 #5 Son Jan 27 01:19:39 CET 2002 i586
Locale: LANG=de_DE, LC_CTYPE=de_DE

Versions of packages apache depends on:
ii  apache-common              1.3.23-1      Support files for all Apache webse
ii  libc6                      2.2.5-3       GNU C Library: Shared libraries an
ii  libdb2                     2:2.7.7.0-3.1 The Berkeley database routines (ru
ii  libexpat1                  1.95.2-6      XML parsing C library - runtime li
ii  logrotate                  3.5.9-6       Log rotation utility
ii  mime-support               3.14-1        MIME files 'mime.types' & 'mailcap
ii  perl                       5.6.1-7       Larry Wall's Practical Extraction 
ii  perl [perl5]               5.6.1-7       Larry Wall's Practical Extraction 



--- End Message ---
--- Begin Message ---
Version: 1.3.34-4.1+rm

You filled the bug http://bugs.debian.org/140565 in Debian BTS
against the package apache. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/418266. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply to: