chore: flatten http directory

main
Sean McBride 5 years ago
parent 9000cc1065
commit 21d9cd11fe

@ -1,8 +1,8 @@
#ifndef SRFT_HTTP_PARSER_SETTINGS_H
#define SRFT_HTTP_PARSER_SETTINGS_H
#include <http/http_request.h>
#include <http/http_response.h>
#include <http_request.h>
#include <http_response.h>
#include <sandbox.h>
#include <uv.h>

@ -9,7 +9,7 @@
#include <pthread.h>
#include <signal.h>
#include <uv.h>
#include <http/http_request.h>
#include <http_request.h>
/**
* TODO: is there some weird edge case where a UNICODE character might be split between reads? Do we care?

@ -6,8 +6,8 @@
#include "arch/context.h"
#include "deque.h"
#include <http/http_request.h>
#include <http/http_response.h>
#include <http_request.h>
#include <http_response.h>
#include "module.h"
#include "ps_list.h"
#include "softint.h"

@ -1,4 +1,4 @@
#include <http/http_request.h>
#include <http_request.h>
/***************************************************
* General HTTP Request Functions *

@ -1,4 +1,4 @@
#include <http/http_response.h>
#include <http_response.h>
#ifdef USE_HTTP_UVIO
#include <uv.h>

@ -1,7 +1,7 @@
#include <runtime.h>
#include <sandbox.h>
#include <uv.h>
#include <http/http_request.h>
#include <http_request.h>
#include <current_sandbox.h>
// What should we tell the child program its UID and GID are?

@ -10,7 +10,7 @@
#include <softint.h>
#include <uv.h>
#include <util.h>
#include <http/http_parser_settings.h>
#include <http_parser_settings.h>
#include <current_sandbox.h>
#include "sandbox_request.h"
@ -264,7 +264,7 @@ worker_thread__pull_and_process_sandbox_requests(void)
while (total_sandboxes_pulled < SBOX_PULL_MAX) {
sandbox_request_t *sandbox_request;
if ((sandbox_request = sandbox_request__steal_from_global_dequeue()) == NULL) break;
if ((sandbox_request = sandbox_request__steal_from_dequeue()) == NULL) break;
// Actually allocate the sandbox for the requests that we've pulled
struct sandbox *sandbox = sandbox__allocate(sandbox_request->module, sandbox_request->arguments,
sandbox_request->socket_descriptor,

Loading…
Cancel
Save