Skip to content

Commit c57587b

Browse files
authored
Update README.md with versions and properties
1 parent 2a911e8 commit c57587b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ This proxy depends on [Apache HttpClient](http://hc.apache.org/httpcomponents-cl
2222
At some point I may write an alternative that uses the JDK and thus doesn't have any dependencies, which is desirable.
2323
In the mean time, you'll have to add the jar files for this and its dependencies:
2424

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
2727
| +- 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
2929

3030
This proxy supports HttpClient 4.3, and newer version too.
3131
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:
5555
<dependency>
5656
<groupId>org.mitre.dsmiley.httpproxy</groupId>
5757
<artifactId>smiley-http-proxy-servlet</artifactId>
58-
<version>1.10</version>
58+
<version>1.11</version>
5959
</dependency>
6060

6161
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
7474
+ http.protocol.handle-redirects: A boolean parameter name to have auto-handle redirects
7575
+ http.socket.timeout: A integer parameter name to set the socket connection timeout (millis)
7676
+ 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.
7780
+ targetUri: The parameter name for the target (destination) URI to proxy to.
7881

7982

0 commit comments

Comments
 (0)