Hi guys !
I encountered an issue on my Android devices when executing a small request (sometimes)
The logs says : E/Corona (27434): ERROR: recvfrom failed: ECONNRESET (Connection reset by peer)
In my case I don’t want a persistent connection.
-
Do you know how to automatically establish a new connection if the connection status is reset by the remote server.
-
What are the appropriate HTTP headers to send with the request AND which headers for the response for a non-persistent connection so it is closed after the response is received or an error is thrown. My server is Apache/PHP. What are the required settings for both Apache/PHP and for corona network request… ?
-
Is there a function in the network module to reset the underlying socket.
Could you help me please.
Thank you.