Received: (qmail 13568 invoked by uid 501); 13 Dec 2000 05:58:55 -0000 Message-Id: <20001213055855.13567.qmail@locus.apache.org> Date: 13 Dec 2000 05:58:55 -0000 From: Pavel Negrobov Reply-To: pavel@imail.dc.ukrtel.net To: submit@bugz.apache.org Subject: Module fault X-Send-Pr-Version: 3.110 >Number: 6972 >Category: apache-api >Synopsis: Module fault >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: mistaken >Submitter-Id: apache >Arrival-Date: Tue Dec 12 22:00:00 PST 2000 >Closed-Date: Wed Dec 13 14:13:20 PST 2000 >Last-Modified: Wed Dec 13 14:13:20 PST 2000 >Originator: pavel@imail.dc.ukrtel.net >Release: 1.3.19 >Organization: >Environment: OS: Win NT/2000, RedHat Linux 6.2 Patch: No Compiler: VC++6.0 in Win32, gcc in Linux >Description: I am writing additional module for Apache server, which receive a data from client via POST request and write them to a file. The data received correctly, but when I trying to write them to file on the server I received a NULL file descriptor (in Linux, in Win32 desriptor is correct, but fprintf of fwrite causes the system message "Application error") from ap_pfopen (or fopen) function. If I trying to read any file via these functions - all ok. >How-To-Repeat: >Fix: I can to try write this on CGI or PHP, but add-on module is more preferable rof me. Thanks. >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: fanf State-Changed-When: Wed Dec 13 14:13:19 PST 2000 State-Changed-Why: This sounds like a problem with your code or with the way you are using the C library, rather than a prolem with Apache. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]