Compare commits
No commits in common. "42bb4045d38a807ec638b69aabecd846f1994512" and "8c86f3c7d445f18fc260b56ad432a61a2d3228af" have entirely different histories.
42bb4045d3
...
8c86f3c7d4
BIN
FlexiLib.png
Normal file
BIN
FlexiLib.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
FlexiLib.xcf
Normal file
BIN
FlexiLib.xcf
Normal file
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
![](FlexiLib.svg)
|
[![](FlexiLib.png)](FlexiLib.png)
|
||||||
|
|
||||||
FlexiLib
|
FlexiLib
|
||||||
========
|
========
|
||||||
|
|
|
@ -552,7 +552,9 @@ fn writeToTestBuffers(response: []const u8, res: *std.http.Server.Response) void
|
||||||
const errmsg = "response exceeds 1024 bytes";
|
const errmsg = "response exceeds 1024 bytes";
|
||||||
const src = if (response.len < 1024) response else errmsg;
|
const src = if (response.len < 1024) response else errmsg;
|
||||||
test_resp_buf_len = if (response.len < 1024) response.len else errmsg.len;
|
test_resp_buf_len = if (response.len < 1024) response.len else errmsg.len;
|
||||||
for (src, 0..) |b, i| test_resp_buf[i] = b;
|
for (src, 0..) |b, i| {
|
||||||
|
test_resp_buf[i] = b;
|
||||||
|
}
|
||||||
for (test_resp_buf_len..1024) |i| test_resp_buf[i] = 0;
|
for (test_resp_buf_len..1024) |i| test_resp_buf[i] = 0;
|
||||||
}
|
}
|
||||||
fn testRequest(request_bytes: []const u8) !void {
|
fn testRequest(request_bytes: []const u8) !void {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user