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.
This commit is contained in:
Robert James Kaes committed 2002-04-15 02:07:27 +00:00
1 parent c86d22226f
commit a5d3212751
6 files changed
+65 -28

No files matched your search

+5 -2
View File
@@ -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;