Just need a simple request logging phase to wrap this up Signed-off-by: Ava Affine <ava@sunnypup.io>
18 lines
479 B
C
18 lines
479 B
C
#include <ngx_config.h>
|
|
#include <ngx_core.h>
|
|
#include <ngx_event.h>
|
|
|
|
#define NGX_MUNINN_MODULE 0x42000000
|
|
#define NGX_MUNINN_CONF 0x00000086
|
|
|
|
#define MUN_DNS_LEGACY_UDP_SZ 512
|
|
#define MUN_DEFAULT_CONN_POOL_SZ 1024
|
|
|
|
|
|
typedef struct {
|
|
ngx_uint_t read_state, finalized;
|
|
ngx_chain_t *in, *out, *read_cur;
|
|
//ngx_pool_t *pool; use conn->pool;
|
|
//ngx_log_t *log; use conn->log;
|
|
ngx_connection_t *conn;
|
|
} mun_dns_request;
|