Skip to content

Commit

Permalink
check new mmn version and allow websocket CONNECT, even without it
Browse files Browse the repository at this point in the history
  • Loading branch information
icing committed Aug 14, 2023
1 parent d2f5a56 commit 26dc497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/http2/h2.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ struct h2_stream;
#define H2_USE_PIPES (APR_FILES_AS_SOCKETS && APR_VERSION_AT_LEAST(1,6,0))
#endif

#if AP_MODULE_MAGIC_AT_LEAST(20120211, 128)
#if AP_MODULE_MAGIC_AT_LEAST(20120211, 129)
#define H2_USE_POLLFD_FROM_CONN 1
#else
#define H2_USE_POLLFD_FROM_CONN 0
#endif

#if H2_USE_POLLFD_FROM_CONN && H2_USE_PIPES
#if H2_USE_PIPES
#define H2_USE_WEBSOCKETS 1
#else
#define H2_USE_WEBSOCKETS 0
Expand Down

0 comments on commit 26dc497

Please sign in to comment.