Skip to content

Commit e7cb076

Browse files
committed
http/h1_stream: Fix incorrect comment
1 parent 8039f9d commit e7cb076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/h1_stream.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ function stream_methods:write_headers(headers, end_stream, timeout)
574574
path = assert(headers:get(":path"), "missing path")
575575
end
576576
if self.connection.req_locked then
577-
-- Wait until previous responses have been fully written
577+
-- Wait until previous request has been fully written
578578
assert(cqueues.running(), "cannot wait for condition if not within a cqueues coroutine")
579579
headers = headers:clone() -- don't want user to edit it and send wrong headers
580580
if cqueues.poll(self.connection.req_cond, timeout) == timeout then

0 commit comments

Comments
 (0)