AndroidAsync
AndroidAsync copied to clipboard
Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads.
1,when client send get request and set "Content-Type", "application/json;charset=utf-8" ,the service is not responding? AsyncHttpServer onAccepted return exception cause:Socket.close(),but version 2.1.0 is ok. 2,When the client requests multiple times at...
start a websocket server by androidasync use another websocket client (eg. postman) to connect server call websocket.send(String s) to send a big size (eg. 20000 byte) text to client the...
Hello. I need to implement 2-way communication between socket server and client. I use `3.0.8` version of the library. App creates a WebSocket server and client. Server sends a welcome...
java.lang.AssertionError at com.koushikdutta.async.future.SimpleCancellable.setComplete(SimpleCancellable.java:25) at com.koushikdutta.async.future.SimpleFuture.setComplete(SimpleFuture.java:134) at com.koushikdutta.async.future.SimpleFuture.setComplete(SimpleFuture.java:124) at com.koushikdutta.async.future.TransformFuture.error(TransformFuture.java:22) at com.koushikdutta.async.future.TransformFuture.onCompleted(TransformFuture.java:17) at com.koushikdutta.async.future.SimpleFuture.handleCallbackUnlocked(SimpleFuture.java:107) at com.koushikdutta.async.future.SimpleFuture.setComplete(SimpleFuture.java:141) at com.koushikdutta.async.future.SimpleFuture.setComplete(SimpleFuture.java:128) at com.koushikdutta.async.parser.ByteBufferListParser$3.onCompleted(ByteBufferListParser.java:43) at com.koushikdutta.async.DataEmitterBase.report(DataEmitterBase.java:16) at com.koushikdutta.async.http.filter.ContentLengthFilter.report(ContentLengthFilter.java:16) at com.koushikdutta.async.http.filter.ContentLengthFilter.onDataAvailable(ContentLengthFilter.java:39) at com.koushikdutta.async.Util.emitAllData(Util.java:23) at com.koushikdutta.async.AsyncNetworkSocket.onReadable(AsyncNetworkSocket.java:152) at...
Hi, I'm using AndroidAsync on my app, and I need to configure it to host an angular 2+ web app. Usually in other enviroment I use apache2 and I need...
Hello. Currently, the listen() method runs asynchronously and if any errors are raised, they're dumped into whatever is the current uncaught exception handler. Unless I'm mistaken, there doesn't seem to...
If a url is requested that contains a `%` character the server will crash. This change will handle exceptions from UrlDecoder. java.lang.IllegalArgumentException: URLDecoder: Incomplete trailing escape (%) pattern at java.net.URLDecoder.decode(URLDecoder.java:196)...
Use httpserver to upload a picture, and then respond to the client successfully if it returns an error。 
Stuck in loop when parsing the response. javax.net.ssl.SSLHandshakeException: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER at com.android.org.conscrypt.OpenSSLEngineImpl.shutdownWithError(OpenSSLEngineImpl.java:1107) at com.android.org.conscrypt.OpenSSLEngineImpl.sslReadErrorResult(OpenSSLEngineImpl.java:1098) at com.android.org.conscrypt.OpenSSLEngineImpl.unwrap(OpenSSLEngineImpl.java:798) at com.android.org.conscrypt.OpenSSLEngineImpl.unwrap(OpenSSLEngineImpl.java:636) at com.android.org.conscrypt.OpenSSLEngineImpl.unwrap(OpenSSLEngineImpl.java:602) at com.koushikdutta.async.AsyncSSLSocketWrapper$5.onDataAvailable(AsyncSSLSocketWrapper.java:194) at com.koushikdutta.async.Util.emitAllData(Util.java:23) at com.koushikdutta.async.AsyncNetworkSocket.onReadable(AsyncNetworkSocket.java:152) at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:821) at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:658)...
AsyncServer.getDefault().listen(host, port, new ListenCallback() is giving bind exception all the time. Here is the crash log, ``` --------- beginning of crash 2021-02-07 02:03:05.832 11083-11134/com.github.renewb.androidasyncsocketexamples E/AndroidRuntime: FATAL EXCEPTION: AsyncServer Process: com.github.renewb.androidasyncsocketexamples,...