Skip to content

Commit

Permalink
Events: moved ngx_recvmsg() to new file src/event/ngx_event_udp.c.
Browse files Browse the repository at this point in the history
  • Loading branch information
arut committed Jun 1, 2018
1 parent 20f8bfa commit 1028d71
Show file tree
Hide file tree
Showing 4 changed files with 384 additions and 354 deletions.
1 change: 1 addition & 0 deletions auto/sources
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ EVENT_SRCS="src/event/ngx_event.c \
src/event/ngx_event_timer.c \
src/event/ngx_event_posted.c \
src/event/ngx_event_accept.c \
src/event/ngx_event_udp.c \
src/event/ngx_event_connect.c \
src/event/ngx_event_pipe.c"

Expand Down
4 changes: 4 additions & 0 deletions src/event/ngx_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,11 @@ void ngx_event_accept(ngx_event_t *ev);
void ngx_event_recvmsg(ngx_event_t *ev);
#endif
ngx_int_t ngx_trylock_accept_mutex(ngx_cycle_t *cycle);
ngx_int_t ngx_enable_accept_events(ngx_cycle_t *cycle);
u_char *ngx_accept_log_error(ngx_log_t *log, u_char *buf, size_t len);
#if (NGX_DEBUG)
void ngx_debug_accepted_connection(ngx_event_conf_t *ecf, ngx_connection_t *c);
#endif


void ngx_process_events_and_timers(ngx_cycle_t *cycle);
Expand Down
Loading

0 comments on commit 1028d71

Please sign in to comment.