Skip to content

Commit

Permalink
in_http: removed unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich committed Mar 13, 2024
1 parent 627741c commit edd0c72
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/in_http/http_prot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1098,11 +1098,9 @@ int http_prot_handle_ng(struct flb_http_request *request,
int ret;
int len;
flb_sds_t tag;
struct flb_http_server_session *session;
struct flb_http *context;

context = (struct flb_http *) response->stream->user_data;
FLB_HTTP_STREAM_GET_SESSION(request->stream, &session);

if (request->path[0] != '/') {
send_response_ng(response, 400, "error: invalid request\n");
Expand Down

0 comments on commit edd0c72

Please sign in to comment.