Merge pull request #346 from gwsystems/fix-parsing-err-handler

Fix parsing err handler
master
Sean McBride 3 years ago committed by GitHub
commit 94fe156538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -305,7 +305,7 @@ http_session_parse(struct http_session *session, ssize_t bytes_received)
(const char *)&session->request_buffer.buffer[session->http_request.length_parsed],
(size_t)session->request_buffer.length - session->http_request.length_parsed);
if (bytes_parsed < (size_t)bytes_received) {
if (session->http_parser.http_errno != HPE_OK) {
debuglog("Error: %s, Description: %s\n",
http_errno_name((enum http_errno)session->http_parser.http_errno),
http_errno_description((enum http_errno)session->http_parser.http_errno));

@ -143,8 +143,6 @@ module_initialize_memory(struct module *module)
/**
* Invoke a module's entry function, forwarding on argc and argv
* @param module
* @param argc standard UNIX count of arguments
* @param argv standard UNIX vector of arguments
* @return return code of module's main function
*/
static inline int32_t

@ -8,7 +8,6 @@
#include "runtime.h"
#include "sandbox_functions.h"
#include "sandbox_set_as_error.h"
#include "sandbox_set_as_runnable.h"
#include "sandbox_state.h"
#include "sandbox_types.h"
#include "worker_thread.h"

@ -1,3 +1,5 @@
#pragma once
#include "worker_thread.h"
static inline void

Loading…
Cancel
Save