mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-21 06:45:27 +00:00
add colon (#17834)
This commit is contained in:
@@ -751,7 +751,7 @@ proc parseBody(client: HttpClient | AsyncHttpClient, headers: HttpHeaders,
|
||||
httpError("Got disconnected while trying to read body.")
|
||||
if recvLen != length:
|
||||
httpError("Received length doesn't match expected length. Wanted " &
|
||||
$length & " got " & $recvLen)
|
||||
$length & " got: " & $recvLen)
|
||||
else:
|
||||
# (http://tools.ietf.org/html/rfc2616#section-4.4) NR.4 TODO
|
||||
|
||||
|
||||
@@ -321,7 +321,7 @@ else:
|
||||
proc verifySelectParams(timeout: int) =
|
||||
# Timeout of -1 means: wait forever
|
||||
# Anything higher is the time to wait in milliseconds.
|
||||
doAssert(timeout >= -1, "Cannot select with a negative value, got " & $timeout)
|
||||
doAssert(timeout >= -1, "Cannot select with a negative value, got: " & $timeout)
|
||||
|
||||
when defined(linux) and not defined(emscripten):
|
||||
include ioselects/ioselectors_epoll
|
||||
|
||||
Reference in New Issue
Block a user