Skip to content

Commit

Permalink
(Continued)
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed Jun 18, 2024
1 parent 146c958 commit d22488a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,9 @@ void parse_request(int client_fd, char *request) {
while (*v && *v == ' ' && v++);
h->name = k;
h++->value = v;
#ifdef DEBUG
fprintf(stderr, " (H) %s: %s\n", k, v);
#endif
e = v + 1 + strlen(v);
if (e[1] == '\r' && e[2] == '\n')
break;
Expand Down

0 comments on commit d22488a

Please sign in to comment.