diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-15 02:07:27 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-15 02:07:27 +0000 |
commit | a5d32127517010c7d09f669aff613e98057ea6b4 (patch) | |
tree | 584648131a6bc963cbb2cf760afc324ff6d18ae3 /src/conns.h | |
parent | c86d22226ff952b33cf4fbee23f0172b86230024 (diff) |
Changed the error boolean flag into a pointer to an error string and an
error code. We're storing this information because tinyproxy doesn't
output the error information until _after_ the client has sent it's
information.
Diffstat (limited to 'src/conns.h')
-rw-r--r-- | src/conns.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/conns.h b/src/conns.h index fa412fe..bc05540 100644 --- a/src/conns.h +++ b/src/conns.h @@ -1,4 +1,4 @@ -/* $Id: conns.h,v 1.7 2002-04-11 20:27:51 rjkaes Exp $ +/* $Id: conns.h,v 1.8 2002-04-15 02:07:27 rjkaes Exp $ * * See 'conns.c' for a detailed description. * @@ -34,7 +34,10 @@ struct conn_s { char *request_line; bool_t connect_method; - bool_t response_message_sent; + + /* Store the error response if there is one */ + char *error_string; + int error_number; /* A Content-Length value from the remote server */ long remote_content_length; |