mirror of
https://github.com/logos-storage/nim-chronos.git
synced 2026-01-06 07:23:08 +00:00
Fix missing connection flag.
This commit is contained in:
parent
64386b3112
commit
ae2a87778f
@ -978,6 +978,7 @@ proc send*(request: HttpClientRequestRef): Future[HttpClientResponseRef] {.
|
||||
request.setError(exc)
|
||||
raise exc
|
||||
|
||||
connection.flags.incl(HttpClientConnectionFlag.Request)
|
||||
request.connection = connection
|
||||
|
||||
try:
|
||||
@ -1028,6 +1029,7 @@ proc open*(request: HttpClientRequestRef): Future[HttpBodyWriter] {.
|
||||
request.setError(exc)
|
||||
raise exc
|
||||
|
||||
connection.flags.incl(HttpClientConnectionFlag.Request)
|
||||
request.connection = connection
|
||||
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user