diff options
Diffstat (limited to 'src/bun.js/api/bun/socket.zig')
| -rw-r--r-- | src/bun.js/api/bun/socket.zig | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/bun.js/api/bun/socket.zig b/src/bun.js/api/bun/socket.zig index 65c0459cb..f4dcfb01c 100644 --- a/src/bun.js/api/bun/socket.zig +++ b/src/bun.js/api/bun/socket.zig @@ -1251,7 +1251,9 @@ fn NewSocket(comptime ssl: bool) type {                  return -1;              }              // we don't cork yet but we might later -            return this.socket.write(buffer, is_end); +            const res = this.socket.write(buffer, is_end); +            log("write({d}, {any})", .{ buffer.len, is_end }); +            return res;          }          fn writeOrEnd(this: *This, globalObject: *JSC.JSGlobalObject, args: []const JSC.JSValue, is_end: bool) WriteResult { | 
