mirror of
https://github.com/darkk/redsocks.git
synced 2025-08-26 11:45:30 +00:00
fix typo
This commit is contained in:
parent
0ed9eeb920
commit
3d5d22a59b
@ -450,7 +450,6 @@ static void httpr_client_read_content(struct bufferevent *buffev, redsocks_clien
|
||||
static int post_buffer_len = 64 * 1024;
|
||||
char *post_buffer = calloc(post_buffer_len, 1);
|
||||
if (!post_buffer) {
|
||||
free(post_buffer);
|
||||
redsocks_log_error(client, LOG_ERR, "run out of memory");
|
||||
redsocks_drop_client(client);
|
||||
return;
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
|
||||
struct redsocks_client_t;
|
||||
struct redsocks_instance_t;
|
||||
|
||||
typedef struct relay_subsys_t {
|
||||
char *name;
|
||||
@ -23,7 +24,7 @@ typedef struct relay_subsys_t {
|
||||
evbuffercb writecb;
|
||||
void (*init)(struct redsocks_client_t *client);
|
||||
void (*fini)(struct redsocks_client_t *client);
|
||||
void (*instance_fini)(struct redsocks_client_t *client);
|
||||
void (*instance_fini)(struct redsocks_instance_t *instance);
|
||||
// connect_relay (if any) is called instead of redsocks_connect_relay after client connection acceptance
|
||||
void (*connect_relay)(struct redsocks_client_t *client);
|
||||
// client_eof is called while relay is not set up but EOF from client is received
|
||||
|
Loading…
Reference in New Issue
Block a user