projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add #131: handle-as-empty-doc-returns-ok should be replaced with an action
[privoxy.git]
/
jcc.c
diff --git
a/jcc.c
b/jcc.c
index
9be9b12
..
d9960f7
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1,4
+1,4
@@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.42
5 2014/02/10 14:39:43
fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.42
7 2014/06/02 06:22:21
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@
-6,7
+6,7
@@
const char jcc_rcs[] = "$Id: jcc.c,v 1.425 2014/02/10 14:39:43 fabiankeil Exp $"
* Purpose : Main file. Contains main() method, main loop, and
* the main connection-handling function.
*
* Purpose : Main file. Contains main() method, main loop, and
* the main connection-handling function.
*
- * Copyright : Written by and Copyright (C) 2001-201
2
the
+ * Copyright : Written by and Copyright (C) 2001-201
4
the
* Privoxy team. http://www.privoxy.org/
*
* Based on the Internet Junkbuster originally written
* Privoxy team. http://www.privoxy.org/
*
* Based on the Internet Junkbuster originally written
@@
-924,11
+924,6
@@
static jb_err change_request_destination(struct client_state *csp)
log_error(LOG_LEVEL_ERROR, "Couldn't parse rewritten request: %s.",
jb_err_to_string(err));
}
log_error(LOG_LEVEL_ERROR, "Couldn't parse rewritten request: %s.",
jb_err_to_string(err));
}
- else
- {
- /* XXX: ocmd is a misleading name */
- http->ocmd = strdup_or_die(http->cmd);
- }
return err;
}
return err;
}
@@
-1607,10
+1602,6
@@
static jb_err receive_client_request(struct client_state *csp)
get_url_actions(csp, http);
}
get_url_actions(csp, http);
}
- /*
- * Save a copy of the original request for logging
- */
- http->ocmd = strdup_or_die(http->cmd);
enlist(csp->headers, http->cmd);
/* Append the previously read headers */
enlist(csp->headers, http->cmd);
/* Append the previously read headers */