Compare commits
2 Commits
8c86f3c7d4
...
42bb4045d3
Author | SHA1 | Date | |
---|---|---|---|
42bb4045d3 | |||
94342c83ef |
BIN
FlexiLib.png
BIN
FlexiLib.png
Binary file not shown.
Before Width: | Height: | Size: 28 KiB |
BIN
FlexiLib.xcf
BIN
FlexiLib.xcf
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
[![](FlexiLib.png)](FlexiLib.png)
|
![](FlexiLib.svg)
|
||||||
|
|
||||||
FlexiLib
|
FlexiLib
|
||||||
========
|
========
|
||||||
|
|
|
@ -552,9 +552,7 @@ 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| {
|
for (src, 0..) |b, i| test_resp_buf[i] = b;
|
||||||
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