chore(lander): removed old networking code
This commit is contained in:
parent
1a7686003c
commit
c59dd29648
15 changed files with 7 additions and 1207 deletions
|
|
@ -54,7 +54,7 @@ void lnm_http_loop_process_route(lnm_http_conn *conn) {
|
|||
|
||||
for (size_t i = 0; i < gctx->routes.len && match_level < 3; i++) {
|
||||
route = gctx->routes.arr[i];
|
||||
bool matched_path;
|
||||
bool matched_path = false;
|
||||
|
||||
switch (route->type) {
|
||||
case lnm_http_route_type_literal:
|
||||
|
|
@ -238,7 +238,7 @@ void lnm_http_loop_process_write_body(lnm_http_conn *conn) {
|
|||
|
||||
size_t to_write =
|
||||
LNM_MIN(res->body.len - res->written, LNM_LOOP_BUF_SIZE - conn->w.size);
|
||||
size_t written;
|
||||
size_t written = 0;
|
||||
|
||||
switch (res->body.type) {
|
||||
case lnm_http_res_body_type_buf:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue