We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f7c875 + 853b7f8 commit e6b9be5Copy full SHA for e6b9be5
src/browser/page.zig
@@ -312,6 +312,12 @@ pub const Page = struct {
312
// mode with an extra socket. Either way, we're waiting
313
// for http traffic
314
if (try http_client.tick(ms_remaining) == .extra_socket) {
315
+ // exit_when_done is explicitly set when there isn't
316
+ // an extra socket, so it should not be possibl to
317
+ // get an extra_socket message when exit_when_done
318
+ // is true.
319
+ std.debug.assert(exit_when_done == false);
320
+
321
// data on a socket we aren't handling, return to caller
322
return .extra_socket;
323
}
0 commit comments