| 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 | 251 | |
| 252 | 252 | /// A buffered (and peekable) Connection. |
| 253 | 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 | 256 | conn: Connection, |
| 257 | 257 | read_buf: [buffer_size]u8 = undefined, |
lib/std/http/Server.zig+1-1| ... | ... | @@ -95,7 +95,7 @@ pub const Connection = struct { |
| 95 | 95 | |
| 96 | 96 | /// A buffered (and peekable) Connection. |
| 97 | 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 | 100 | conn: Connection, |
| 101 | 101 | read_buf: [buffer_size]u8 = undefined, |