File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ fn common(
169169 });
170170 step .root_module .addImport ("tls" , tlsmod );
171171
172- const wsmod = b .addModule ("ws " , .{
172+ const wsmod = b .addModule ("websocket " , .{
173173 .root_source_file = b .path ("vendor/websocket.zig/src/websocket.zig" ),
174174 });
175175 step .root_module .addImport ("websocket" , wsmod );
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ pub const Stream = struct {
4545 }
4646
4747 fn closeCDP (self : * const Stream ) void {
48- const close_msg : []const u8 = .{ 5 , 0 } ++ " close" ;
48+ const close_msg : []const u8 = "5: close" ;
4949 self .recv (close_msg ) catch | err | {
5050 log .err ("stream close error: {any}" , .{err });
5151 };
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const usage =
4949 \\
5050 \\ -h, --help Print this help message and exit.
5151 \\ --host Host of the CDP server (default "127.0.0.1")
52- \\ --port Port of the CDP server (default "3245 ")
52+ \\ --port Port of the CDP server (default "9222 ")
5353 \\ --timeout Timeout for incoming connections of the CDP server (in seconds, default "3")
5454 \\ --dump Dump document in stdout (fetch mode only)
5555 \\
You can’t perform that action at this time.
0 commit comments