www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Negrobov <pa...@imail.dc.ukrtel.net>
Subject apache-api/6972: Module fault
Date Wed, 13 Dec 2000 05:58:55 GMT

>Number:         6972
>Category:       apache-api
>Synopsis:       Module fault
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          mistaken
>Submitter-Id:   apache
>Arrival-Date:   Tue Dec 12 22:00:00 PST 2000
>Originator:     pavel@imail.dc.ukrtel.net
>Release:        1.3.19
OS: Win NT/2000, RedHat Linux 6.2
Patch: No
Compiler: VC++6.0 in Win32, gcc in Linux
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.

I can to try write this on CGI or PHP, but add-on module is more preferable rof me.
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> 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!     ]

View raw message