diff options
Diffstat (limited to 'src/lib/daemon_poll.c')
-rw-r--r-- | src/lib/daemon_poll.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/daemon_poll.c b/src/lib/daemon_poll.c index 63747bd0..39d22ccf 100644 --- a/src/lib/daemon_poll.c +++ b/src/lib/daemon_poll.c | |||
@@ -23,6 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | #include "internal.h" | 24 | #include "internal.h" |
25 | #include "daemon_poll.h" | 25 | #include "daemon_poll.h" |
26 | #include "upgrade_process.h" | ||
26 | #include "request_resume.h" | 27 | #include "request_resume.h" |
27 | #include "connection_add.h" | 28 | #include "connection_add.h" |
28 | #include "connection_finish_forward.h" | 29 | #include "connection_finish_forward.h" |
@@ -315,7 +316,7 @@ MHD_daemon_poll_all_ (struct MHD_Daemon *daemon, | |||
315 | urh_from_pollfd (urh, | 316 | urh_from_pollfd (urh, |
316 | &(p[poll_server+i])); | 317 | &(p[poll_server+i])); |
317 | i += 2; | 318 | i += 2; |
318 | process_urh (urh); | 319 | MHD_upgrade_response_handle_process_ (urh); |
319 | /* Finished forwarding? */ | 320 | /* Finished forwarding? */ |
320 | if ( (0 == urh->in_buffer_size) && | 321 | if ( (0 == urh->in_buffer_size) && |
321 | (0 == urh->out_buffer_size) && | 322 | (0 == urh->out_buffer_size) && |
@@ -508,7 +509,7 @@ MHD_daemon_upgrade_connection_with_poll_ (struct MHD_Connection *con) | |||
508 | } | 509 | } |
509 | urh_from_pollfd (urh, | 510 | urh_from_pollfd (urh, |
510 | p); | 511 | p); |
511 | process_urh (urh); | 512 | MHD_upgrade_response_handle_process_ (urh); |
512 | } | 513 | } |
513 | } | 514 | } |
514 | #endif | 515 | #endif |