httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Yu" <>
Subject inconstant error answer in core.c
Date Thu, 12 Jun 2003 09:52:49 GMT
Dear developers,

I am debugging on httpd 2.0.45.

I came across a strange scenario in the source code file
I try to change the following function to handle an error
(See comments at "if (rv == 89)" ):

static apr_status_t core_output_filter(ap_filter_t *f,
apr_bucket_brigade *b)


        if (rv != APR_SUCCESS) {

            ap_log_error(APLOG_MARK, APLOG_INFO, rv,
                         "core_output_filter: writing data
to the network");

              *  I get  "Unsupported file system operation"
(error code 89), then I try
              *  to return HTTP_SERVICE_UNAVAILABLE. But
when I reach here
              *  in WebDAV server, WebDAV server answers
"HTTP/1.1 200 OK"
              *  with an error page "Error 503". See the
full answer of my test from WebDAV
              * server below in this mail. It is worth to
mention that if I don't handle it here,
              * I get a blank page from WebDAV server.
            if (rv == 89)
                return HTTP_SERVICE_UNAVAILABLE;   // Added
by me

            if (more)





 Full error answer from WebDAV server:

$telnet 8068
Connected to
Escape character is '^]'.
GET /lts/testpmo/FILE-3 HTTP/1.1

HTTP/1.1 200 OK
Date: Thu, 12 Jun 2003 09:06:59 GMT
Server: Apache/2.0.45 (Unix) DAV/2
Last-Modified: Thu, 22 May 2003 13:04:44 GMT
ETag: "6-18b80-63579300"
Accept-Ranges: bytes
Content-Length: 101248
Content-Type: text/plain; charset=ISO-8859-1

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" lang="en"
<title>Service unavailable!</title>
<link rev="made" href="mailto:you@your.address" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
    body { color: #000000; background-color: #FFFFFF; }
    a:link { color: #0000CC; }
    p, address {margin-left: 3em;}
    span {font-size: smaller;}

<h1>Service unavailable!</h1>

    The server is temporarily unable to service your
    request due to maintenance downtime, capacity
    problems, or the document is offline. Please try again

If you think this is a server error, please contact
the <a href="mailto:you@your.address">webmaster</a>.


<h2>Error 503</h2>
  <a href="/"></a><br />

  <span>Thu Jun 12 11:06:59 2003<br />
  Apache/2.0.45 (Unix) DAV/2</span>

Connection closed by foreign host.


What could I do next?

Thanks for your help in advance.

Best regards,


Albert Yu
( Yu Yizhuan )
Software Engineer

phone:  +353 21 4910500
direct:  +353 21 4910503
fax: +353 21 4320589

IMTF Software Ltd.
Airport Business Park
Building 4500
Kinsale Road

System Integrators for eDocuments

This message is intended only for use by the person to whom
it is
addressed. It may contain information that is privileged and
Its content does not constitute a formal commitment by IMTF.
If you are
not the intended recipient of this message, kindly notify
the sender
immediately and destroy this message. Thank You.

View raw message