chore(lander): updated changelog
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
876e5a7de4
commit
8dc8ef8e2d
3 changed files with 15 additions and 8 deletions
|
|
@ -49,12 +49,13 @@ lnm_http_parse_err lnm_http_req_parse(lnm_http_req *req, char *buf,
|
|||
req->query.len = path_len - (question_mark + 1 - path);
|
||||
|
||||
path_len = question_mark - path;
|
||||
|
||||
// All parsed strings should be null-terminated. This character is either a
|
||||
// newline (if at the end of the path), or a question mark (if a query is
|
||||
// present).
|
||||
path[path_len] = '\0';
|
||||
}
|
||||
|
||||
// All parsed strings should be null-terminated. This character is either a
|
||||
// newline (if at the end of the path), or a question mark (if a query is
|
||||
// present).
|
||||
path[path_len] = '\0';
|
||||
req->path.len = path_len;
|
||||
req->path.s = path;
|
||||
req->len = req_len;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
#include <netinet/in.h>
|
||||
#include <poll.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "lnm/common.h"
|
||||
#include "lnm/loop_internal.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue