@@ -22,10 +22,10 @@ This proxy depends on [Apache HttpClient](http://hc.apache.org/httpcomponents-cl
22
22
At some point I may write an alternative that uses the JDK and thus doesn't have any dependencies, which is desirable.
23
23
In the mean time, you'll have to add the jar files for this and its dependencies:
24
24
25
- +- org.apache.httpcomponents:httpclient:jar:4.5.2 :compile
26
- +- org.apache.httpcomponents:httpcore:jar:4.4.4 :compile
25
+ +- org.apache.httpcomponents:httpclient:jar:4.5.6 :compile
26
+ +- org.apache.httpcomponents:httpcore:jar:4.4.10 :compile
27
27
| +- commons-logging:commons-logging:jar:1.2:compile
28
- | \- commons-codec:commons-codec:jar:1.9 :compile
28
+ | \- commons-codec:commons-codec:jar:1.10 :compile
29
29
30
30
This proxy supports HttpClient 4.3, and newer version too.
31
31
If you need to support _ older_ HttpClient versions, namely 4.1 and 4.2, then use the 1.8 version of this proxy.
@@ -55,7 +55,7 @@ add this to your dependencies in your pom like so:
55
55
<dependency>
56
56
<groupId>org.mitre.dsmiley.httpproxy</groupId>
57
57
<artifactId>smiley-http-proxy-servlet</artifactId>
58
- <version>1.10 </version>
58
+ <version>1.11 </version>
59
59
</dependency>
60
60
61
61
Ivy and other dependency managers can be used as well.
@@ -74,6 +74,9 @@ The following is a list of parameters that can be configured
74
74
+ http.protocol.handle-redirects: A boolean parameter name to have auto-handle redirects
75
75
+ http.socket.timeout: A integer parameter name to set the socket connection timeout (millis)
76
76
+ http.read.timeout: A integer parameter name to set the socket read timeout (millis)
77
+ + http.connectionrequest.timeout: A integer parameter name to set the connection request timeout (millis)
78
+ + http.maxConnections: A integer parameter name to set max connection number
79
+ + useSystemProperties: A boolean parameter whether to use JVM-defined system properties to configure various networking aspects.
77
80
+ targetUri: The parameter name for the target (destination) URI to proxy to.
78
81
79
82
0 commit comments