Re: POST without Content-Length

2004-08-08 Thread Jan Kratochvil
Hi,

On Sun, 08 Aug 2004 00:24:15 +0200, Nick Kew wrote:
...
  Therefore it should be safe to assume if no Content-Length and no chunked
  headers are present there MUST follow an optional body with the
  connection-close afterwards as 'persistent connection' MUST NOT be present.
 
 Nope.  GET requests routinely have keep-alive, but don't have bodies.

Just FYI squid-3.0 release notes:
request_entities
New squid.conf directive request_entities on/off.If set to
on then Squid will allow GET/HEAD requests with request
entities, even if such entites are undefined in the HTTP
specification. (Henrik Nordstrom)

Anyway I have no longer standards compliance complaints as httpd-2.1 looks OK:

On Sun, 08 Aug 2004 00:07:24 +0200, Roy T. Fielding wrote:
...
 An HTTP request with no content-length and no tranfer-encoding has no body,
 period:
 
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.


Oops, with the greatest regards to RFC author :-),
Lace

-- 
Jan Kratochvil; Captive: free r/w NTFS Filesystem; http://www.jankratochvil.net/


Re: POST without Content-Length

2004-08-08 Thread Jan Kratochvil
Hi,

On Sun, 08 Aug 2004 00:07:24 +0200, Roy T. Fielding wrote:
...
 An HTTP request with no content-length and no tranfer-encoding has no body,
 period:

OK. Now just a question whether to not to implement HTTP-request sanity check
as is implemented in squid clientCheckContentLength():

PUT+POST:
require a request entity: HTTP_LENGTH_REQUIRED = 411
GET+HEAD:
forbid a request entity if !$request_entities: HTTP_LENGTH_REQUIRED = 
411

configurable $request_entities:
allow GET/HEAD requests with request entities, even if such
entites are undefined in the HTTP specification.

Unfortunately there is no HTTP specification which methods
MUST/MUST NOT/etc. (RFC 2119) include HTTP request bodies.


Lace

-- 
Jan Kratochvil; Captive: free r/w NTFS Filesystem; http://www.jankratochvil.net/


Bug report for Apache httpd-1.3 [2004/08/08]

2004-08-08 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 7982|New|Maj|2002-04-11|mod_rewrite URL string empty when passed unicoded |
| 8311|Opn|Nor|2002-04-19|error in PUT directive gives confusing error messa|
| 8329|New|Nor|2002-04-20|mime_magic gives 500 and no error_log on Microsoft|
| 8372|Ass|Nor|2002-04-22|Threadsaftey issue in Rewrite's cache [Win32/OS2/N|
| 8849|New|Nor|2002-05-07|make install errors as root on NFS shares |
| 8882|New|Enh|2002-05-07|[PATCH] mod_rewrite communicates with external rew|
| 9037|New|Min|2002-05-13|Slow performance when acessing an unresolved IP ad|
| 9126|New|Blk|2002-05-15|68k-next-openstep v. 4.0  |
| 9726|New|Min|2002-06-09|Double quotes should be flagged as T_HTTP_TOKEN_ST|
| 9894|New|Maj|2002-06-16|getline sub in support progs collides with existin|
| |New|Nor|2002-06-19|Incorrect default manualdir value with layout.|
|10038|New|Min|2002-06-20|ab benchmaker hangs on 10K https URLs with keepali|
|10073|New|Maj|2002-06-20|upgrade from 1.3.24 to 1.3.26 breaks include direc|
|10169|New|Nor|2002-06-24|Apache seg faults due to attempt to access out of |
|10178|New|Maj|2002-06-24|Proxy server cuts off begining of buffer when spec|
|10195|New|Nor|2002-06-24|Configure script erroneously detects system Expat |
|10199|New|Nor|2002-06-24|Configure can't handle directory names with unders|
|10243|New|Maj|2002-06-26|CGI scripts not getting POST data |
|10354|New|Nor|2002-06-30|ErrorDocument(.htaccess) fails when passed URL wit|
|10470|New|Cri|2002-07-04|proxy module will not correctly serve mixed case f|
|10666|New|Enh|2002-07-10|line-end comment error message missing file name  |
|10744|New|Nor|2002-07-12|suexec might fail to open log file|
|10747|New|Maj|2002-07-12|ftp SIZE command and 'smart' ftp servers results i|
|10760|New|Maj|2002-07-12|empty ftp directory listings from cached ftp direc|
|10890|New|Cri|2002-07-17|if et locale is used, configure fails   |
|10939|New|Maj|2002-07-18|directory listing errors  |
|11020|New|Maj|2002-07-21|APXS only recognise tests made by ./configure |
|11236|New|Min|2002-07-27|Possible Log exhaustion bug?  |
|11265|New|Blk|2002-07-29|mod_rewrite fails to encode special characters|
|11765|New|Nor|2002-08-16|.apaci.install.tmp installs in existing httpd.conf|
|11986|New|Nor|2002-08-23|Restart hangs when piping logs on rotation log pro|
|11993|Opn|Cri|2002-08-23|PDFs served through ProxyPass show up blank   |
|12096|New|Nor|2002-08-27|apxs does not handle binary dists installed at non|
|12391|New|Maj|2002-09-07|DBM_LIB should be blank for OS X 10.2 |
|12551|New|Nor|2002-09-11|mod_proxy fails to shutdown when client cancels   |
|12574|New|Nor|2002-09-12|Broken images comes from mod_proxy when caching ww|
|12583|New|Nor|2002-09-12|First piped log process do not handle SIGTERM |
|12598|New|Maj|2002-09-12|Apache hanging in Keepalive State |
|13120|New|Cri|2002-09-29|CGI procs defunctioning   |
|13188|New|Nor|2002-10-02|does not configure correctly for hppa64-hp-hpux11.|
|13274|Ass|Nor|2002-10-04|Subsequent requests are destroyed by the request e|
|13607|Opn|Enh|2002-10-14|Catch-all enhancement for vhost_alias?|
|13687|New|Min|2002-10-16|Leave Debug symbol on Darwin  |
|13822|New|Maj|2002-10-21|Problem while running Perl modules accessing CGI::|
|14031|New|Nor|2002-10-29|POST handling for multi part forms incorrect  |
|14095|Opn|Nor|2002-10-30|Change default Content-Type (DefaultType) in defau|
|14250|New|Maj|2002-11-05|Alternate UserDirs don't work intermittantly  |
|14358|New|Enh|2002-11-07|rotatelogs using TZ settings  |
|14443|New|Maj|2002-11-11|Keep-Alive randomly causes TCP RSTs   |
|14448|Opn|Cri|2002-11-11|Apache WebServer not starting if installed on Comp|
|14518|New|Nor|2002-11-13|QUESY_STRING parts not incorporated by mod_rewrite|

Bug report for Apache httpd-2.0 [2004/08/08]

2004-08-08 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 7483|Ass|Enh|2002-03-26|Add FileAction directive to assign a cgi interpret|
| 7741|Ass|Nor|2002-04-04|some directives may be placed outside of proper co|
| 7862|New|Enh|2002-04-09|suexec never log a group name.|
| 8167|New|Min|2002-04-16|--with-module does not build MODULE_DIRS correctly|
| 8483|Opn|Min|2002-04-24|apache_2.0 .msi installer breaks .log and .conf fi|
| 8500|Ass|Cri|2002-04-25|authorization user does not logged|
| 8713|New|Min|2002-05-01|No Errorlog on PROPFIND/Depth:Infinity|
| 8867|Opn|Cri|2002-05-07|exports.c generation fails when using a symlink to|
| 8925|New|Cri|2002-05-09|Service Install (win32 .msi/.exe) fails for port i|
| 8993|Opn|Nor|2002-05-10|openssl library location(s) are hardcoded in confi|
| 9484|New|Enh|2002-05-29|Dynamic ServerAdmin configuration |
| 9513|Opn|Nor|2002-05-30|Missing start menu items  |
| 9727|New|Min|2002-06-09|Double quotes should be flagged as T_HTTP_TOKEN_ST|
| 9945|New|Enh|2002-06-18|[PATCH] new funtionality for apache bench |
|10114|Ass|Enh|2002-06-21|Negotiation gives no weight to order, only q value|
|10154|Ass|Nor|2002-06-23|ApacheMonitor interferes with service uninstall/re|
|10775|Ass|Cri|2002-07-13|SCRIPT_NAME wrong value   |
|11000|New|Enh|2002-07-20|Mutex permission problems: configuration template |
|11035|New|Min|2002-07-22|Apache adds double entries to headers generated by|
|11259|New|Enh|2002-07-29|'make install' should provide a deinstaller   |
|11294|New|Enh|2002-07-30|desired vhost_alias option|
|11427|Opn|Maj|2002-08-02|Possible Memory Leak in CGI script invocation |
|11514|New|Maj|2002-08-07|worker MPM stalls on UnixWare 7.11|
|11521|New|Nor|2002-08-07|Addition of  Japanese error message   |
|11580|Opn|Enh|2002-08-09|generate Content-Location headers |
|11660|New|Enh|2002-08-13|a New Hebrew Translation for Test Page for Apache|
|11960|New|Maj|2002-08-23|Apache default config doesn't include uk langauge |
|12033|Opn|Nor|2002-08-26|Graceful restart immidiately result in [warn] long|
|12187|Opn|Blk|2002-08-30|Standard config with perchild; Apache is blocked  |
|12340|Opn|Nor|2002-09-05|WindowsXP proxy, child process exited with status |
|12355|Opn|Nor|2002-09-06|SSLVerifyClient directive in location make post to|
|12426|Ass|Nor|2002-09-09|mod_proxy broken under high load ?|
|12680|New|Enh|2002-09-16|Digest authentication with integrity protection   |
|12885|New|Enh|2002-09-20|windows 2000 build information: mod_ssl, bison, et|
|12894|New|Nor|2002-09-21|not assuming the DEFAULTTYPE for PHP files without|
|12981|New|Nor|2002-09-25|Apache Bench can't take binary post data  |
|13029|New|Nor|2002-09-26|Win32 mod_cgi failure with non-ASCII characters in|
|13101|New|Cri|2002-09-27|Using mod_ext_filter with mod_proxy and http/1.1 c|
|13272|Opn|Nor|2002-10-04|Documentation doesn't mention that SSL is not in b|
|13328|New|Nor|2002-10-05|Apache kills processgroup.|
|13343|New|Maj|2002-10-06|Apache2 dies if signal HUP is sent to master proce|
|13368|New|Maj|2002-10-07|IIS prevents Apache from starting (missing -w opti|
|13507|New|Enh|2002-10-10|capturing stderr from mod_cgi |
|13577|New|Maj|2002-10-13|mod_proxy mangles query string with mod_rewrite   |
|13599|Ass|Nor|2002-10-14|autoindex formating broken for multibyte sequences|
|13603|New|Nor|2002-10-14|incorrect DOCUMENT_URI in mod_autoindex with Heade|
|13661|Ass|Enh|2002-10-15|Apache cannot not handle dynamic IP reallocation  |
|13946|Opn|Nor|2002-10-24|reverse proxy errors when a document expires from |
|13986|Ass|Enh|2002-10-26|remove default MIME-type  |
|14016|Ass|Nor|2002-10-28|Problem when using mod_ext_filter with ActivePerl |
|14090|New|Maj|2002-10-30|mod_cgid always writes to main server error log   |