URLConnection Pending Requests

Is URLConnection.ClearRequestHeaders the proper way to “give up” on on waiting for a response from a server when in Async mode (URLConnection.Send)

I know that if you try to Send again before you’ve received a response, you’ll get an error, and I’m not sure whether the socket can be used again until it’s cleared?

Clear headers just resets the headers but I dont think it abandons an in progress request

Copy that. Any idea how to abandon a request? Is letting it timeout the only way?

I dont think there is one
I could be wrong but often I just mil the object and create a new one for the new request

There is currently no way to cancel a URLConnection request, we must wait for it to time out, respond, or fail.

(I haven’t tried niling the object though, go for it!)