httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <>
Subject Re: Error handling in latest dev snapshot
Date Mon, 02 Aug 2004 20:52:10 GMT writes:

> Using libapreq2-2.04-dev, in a upload_hook subroutine my code dies on
> an error condition and I get the following error message:
> [Sun Aug 01 23:13:46 2004] [error] [client]
> Apache::Request::upload: (20014) Error string not specified yet

You should not call $req->upload within an upload hook.  Hooks are 
parser extensions and are *not suitable* for casual use.  Don't use 
UPLOAD_HOOK unless you absolutely must process the upload data 
*during parsing*.

Joe Schaefer

View raw message