projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change csp->expected_content and_csp->expected_content_length from
[privoxy.git]
/
project.h
diff --git
a/project.h
b/project.h
index
ad3f80d
..
78a074c
100644
(file)
--- a/
project.h
+++ b/
project.h
@@
-1,7
+1,7
@@
#ifndef PROJECT_H_INCLUDED
#define PROJECT_H_INCLUDED
/** Version string. */
#ifndef PROJECT_H_INCLUDED
#define PROJECT_H_INCLUDED
/** Version string. */
-#define PROJECT_H_VERSION "$Id: project.h,v 1.12
6 2008/12/14 17:02:54
fabiankeil Exp $"
+#define PROJECT_H_VERSION "$Id: project.h,v 1.12
7 2008/12/20 14:53:55
fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/project.h,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/project.h,v $
@@
-37,6
+37,11
@@
*
* Revisions :
* $Log: project.h,v $
*
* Revisions :
* $Log: project.h,v $
+ * Revision 1.127 2008/12/20 14:53:55 fabiankeil
+ * Add config option socket-timeout to control the time
+ * Privoxy waits for data to arrive on a socket. Useful
+ * in case of stale ssh tunnels or when fuzz-testing.
+ *
* Revision 1.126 2008/12/14 17:02:54 fabiankeil
* Fix a cparser warning.
*
* Revision 1.126 2008/12/14 17:02:54 fabiankeil
* Fix a cparser warning.
*
@@
-1443,14
+1448,14
@@
struct client_state
struct file_list *rlist[MAX_AF_FILES];
/** Length after content modification. */
struct file_list *rlist[MAX_AF_FILES];
/** Length after content modification. */
-
size_t
content_length;
+
unsigned long long
content_length;
#ifdef FEATURE_CONNECTION_KEEP_ALIVE
/** Expected length of content after which we
* should stop reading from the server socket.
*/
/* XXX: is this the right location? */
#ifdef FEATURE_CONNECTION_KEEP_ALIVE
/** Expected length of content after which we
* should stop reading from the server socket.
*/
/* XXX: is this the right location? */
-
size_t
expected_content_length;
+
unsigned long long
expected_content_length;
#endif /* def FEATURE_CONNECTION_KEEP_ALIVE */
#ifdef FEATURE_TRUST
#endif /* def FEATURE_CONNECTION_KEEP_ALIVE */
#ifdef FEATURE_TRUST