| author | |
| committer | |
| log | 9017d758b96c1f296249670dffb774a598bc8598 |
| tree | ab3702fd1794a326cce8b98b8b46e96fc7b1947e |
| parent | 1b3ebfefd8d8fd05152d55c431f741880d1ce2a7 |
| signature |
2 files changed, 2 insertions(+), 2 deletions(-)
lib/std/http/Client.zig+1-1| ... | @@ -251,7 +251,7 @@ pub const Connection = struct { | ... | @@ -251,7 +251,7 @@ pub const Connection = struct { |
| 251 | 251 | ||
| 252 | /// A buffered (and peekable) Connection. | 252 | /// A buffered (and peekable) Connection. |
| 253 | pub const BufferedConnection = struct { | 253 | pub const BufferedConnection = struct { |
| 254 | pub const buffer_size = 0x2000; | 254 | pub const buffer_size = std.crypto.tls.max_ciphertext_record_len; |
| 255 | 255 | ||
| 256 | conn: Connection, | 256 | conn: Connection, |
| 257 | read_buf: [buffer_size]u8 = undefined, | 257 | read_buf: [buffer_size]u8 = undefined, |
lib/std/http/Server.zig+1-1| ... | @@ -95,7 +95,7 @@ pub const Connection = struct { | ... | @@ -95,7 +95,7 @@ pub const Connection = struct { |
| 95 | 95 | ||
| 96 | /// A buffered (and peekable) Connection. | 96 | /// A buffered (and peekable) Connection. |
| 97 | pub const BufferedConnection = struct { | 97 | pub const BufferedConnection = struct { |
| 98 | pub const buffer_size = 0x2000; | 98 | pub const buffer_size = std.crypto.tls.max_ciphertext_record_len; |
| 99 | 99 | ||
| 100 | conn: Connection, | 100 | conn: Connection, |
| 101 | read_buf: [buffer_size]u8 = undefined, | 101 | read_buf: [buffer_size]u8 = undefined, |