async-http-client
async-http-client copied to clipboard
Asynchronous Http and WebSocket Client library for Java
Solves [that](https://github.com/AsyncHttpClient/async-http-client/issues/1660) issue.
I have an SSL proxy setup which works fine when using curl. ``` $ curl -x https://test-proxy.com:443 http://google.com 301 Moved 301 Moved The document has moved here. ``` I can't...
To reproduce ```java package me.fallenbreath.playground; import org.asynchttpclient.proxy.ProxyType; import static org.asynchttpclient.Dsl.*; public class Main { public static void main(String[] args) throws Exception { var proxyServer = proxyServer("127.0.0.1", 1081). setProxyType(ProxyType.SOCKS_V5); try (var...
hi,when i use this code , i found MaxConnectionSemaphore don`t release,cause **TooManyConnection** Excetion. ``` DefaultAsyncHttpClientConfig config = new DefaultAsyncHttpClientConfig.Builder().setConnectTimeout(60000) .setReadTimeout(60000).setRequestTimeout(60000).setMaxConnections(200).setMaxRequestRetry(3).setAcquireFreeChannelTimeout(60000).build(); AsyncHttpClient asyncHttpClient = Dsl.asyncHttpClient(config); while (true) { String requestUrl ="http://xxx:8080/hello?name=san";...
Could you help analyze this stacktrace what could be the root cause of this exception? if http requests reached to target servers? For context: this doesn't happen all the times....
Shutdown process is slow, 3 seconds, even when the client is not used at all. I wonder what prevent immediate shutdown. ```java asyncHttpClient( config() .setConnectTimeout(5_000) .setRequestTimeout(20_000) ) ``` So I...
Can you add support socks proxy for netty provider? It was be wonderfull.
The code seems to spam org.asynchttpclient.netty.channel.NettyChannelConnector$1.operationComplete()
I am opening a large amount of requests using AsyncHttpClient, and seem to run into a large amount of console spam whilst the program is running. I have noticed that...
Allow users to configure HttpClientCodec's parseHttpAfterConnectRequest and allowDuplicateContentLengths flags. Fixes #1889
We're using AsyncHttpClient to proxy requests, some of which contain multiple Content-Length flags, and for a few different reasons we don't want to remove the duplicates. Currently AHC doesn't allow...