diff options
-rw-r--r-- | adapter/protocol/http.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/protocol/http.nim b/adapter/protocol/http.nim index 3dc52f13..b51d6349 100644 --- a/adapter/protocol/http.nim +++ b/adapter/protocol/http.nim @@ -36,7 +36,7 @@ proc curlWriteHeader(p: cstring; size, nitems: csize_t; userdata: pointer): op.statusline = true var status: clong op.curl.getinfo(CURLINFO_RESPONSE_CODE, addr status) - if status == 103 and op.earlyhint == ehsNone: + if status == 103: op.earlyhint = ehsStarted else: op.connectreport = true |