httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wichitill <ma...@gmx.de>
Subject Re: Problem use Apache::Upload
Date Sun, 01 Aug 2004 21:19:47 GMT
Joe Schaefer wrote:
> OK, could you show us some status codes for the failed request?
> Foe example, what do these report?
> 
>   $req->parse
>   $req->body_status

parse() is always 0, otherwise the init code I posted would stop the request 
early. body_status() see below.

> and set your LogLevel to Debug, so we can see what mod_apreq
> and the mfd parser are doing.

First with discard_request_body() enabled for all mp2 requests:

[Sun Aug 01 23:11:10 2004] [debug] worker.c(1631): AcceptMutex: sysvsem 
(default: sysvsem)
*** Successful upload on first request after restart:
[Sun Aug 01 23:11:13 2004] [error] [forum] [client 192.168.0.1] body_status 
after new(): 70022
[Sun Aug 01 23:11:13 2004] [error] [forum] [client 192.168.0.1] body_status 
after discard(): 0
[Sun Aug 01 23:11:13 2004] [error] [forum] [client 192.168.0.1] body_status 
after parse(): 0
[Sun Aug 01 23:11:13 2004] [debug] mod_apreq.c(591): [client 192.168.0.1] 
removing filter (1)
*** Next upload, missing auth param:
[Sun Aug 01 23:12:27 2004] [error] [forum] [client 192.168.0.1] body_status 
after new(): 70022
[Sun Aug 01 23:12:28 2004] [error] [forum] [client 192.168.0.1] body_status 
after discard(): 0
[Sun Aug 01 23:12:28 2004] [error] [forum] [client 192.168.0.1] body_status 
after parse(): 0
[Sun Aug 01 23:12:28 2004] [error] [forum] [client 192.168.0.1] Request 
authentication failed.

Now discard_request_body() only for GET requests:

[Sun Aug 01 23:17:22 2004] [debug] worker.c(1631): AcceptMutex: sysvsem 
(default: sysvsem)
*** First upload after restart ok
[Sun Aug 01 23:17:35 2004] [error] [forum] [client 192.168.0.1] body_status 
after new(): 70022
[Sun Aug 01 23:17:35 2004] [debug] mod_apreq.c(349): [client 192.168.0.1] 
prefetching 262144 bytes
[Sun Aug 01 23:17:35 2004] [debug] mod_apreq.c(349): [client 192.168.0.1] 
prefetching 262144 bytes
[Sun Aug 01 23:17:35 2004] [error] [forum] [client 192.168.0.1] body_status 
after parse(): 0
[Sun Aug 01 23:17:35 2004] [debug] mod_apreq.c(591): [client 192.168.0.1] 
removing filter (1)
*** Next upload ok, too
[Sun Aug 01 23:18:47 2004] [error] [forum] [client 192.168.0.1] body_status 
after new(): 70022
[Sun Aug 01 23:18:47 2004] [debug] mod_apreq.c(349): [client 192.168.0.1] 
prefetching 262144 bytes
[Sun Aug 01 23:18:48 2004] [debug] mod_apreq.c(349): [client 192.168.0.1] 
prefetching 262144 bytes
[Sun Aug 01 23:18:48 2004] [error] [forum] [client 192.168.0.1] body_status 
after parse(): 0
[Sun Aug 01 23:18:48 2004] [debug] mod_apreq.c(591): [client 192.168.0.1] 
removing filter (1)

Mime
View raw message