mirror of https://github.com/adamdruppe/arsd.git
bug fix
This commit is contained in:
parent
39b0cfeefd
commit
d41995d042
12
http2.d
12
http2.d
|
@ -1469,6 +1469,18 @@ class HttpRequest {
|
||||||
|
|
||||||
removeFromPending[removeFromPendingCount++] = pc;
|
removeFromPending[removeFromPendingCount++] = pc;
|
||||||
continue;
|
continue;
|
||||||
|
} catch(Exception e) {
|
||||||
|
// connection failed due to other user error
|
||||||
|
pc.state = HttpRequest.State.aborted;
|
||||||
|
|
||||||
|
pc.responseData.code = 2;
|
||||||
|
pc.responseData.codeText = e.msg;
|
||||||
|
|
||||||
|
hadAbortedRequest = true;
|
||||||
|
|
||||||
|
removeFromPending[removeFromPendingCount++] = pc;
|
||||||
|
continue;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(socket !is null) {
|
if(socket !is null) {
|
||||||
|
|
Loading…
Reference in New Issue