File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ ngx_http_lua_ngx_req_raw_header(lua_State *L)
113113
114114#if (NGX_HTTP_V2 )
115115 if (mr -> stream ) {
116- return luaL_error (L , "http v2 not supported yet" );
116+ return luaL_error (L , "http2 requests not supported yet" );
117117 }
118118#endif
119119
Original file line number Diff line number Diff line change @@ -166,6 +166,12 @@ ngx_http_lua_ngx_location_capture_multi(lua_State *L)
166166 return luaL_error (L , "no request object found" );
167167 }
168168
169+ #if (NGX_HTTP_V2 )
170+ if (r -> main -> stream ) {
171+ return luaL_error (L , "http2 requests not supported yet" );
172+ }
173+ #endif
174+
169175 ctx = ngx_http_get_module_ctx (r , ngx_http_lua_module );
170176 if (ctx == NULL ) {
171177 return luaL_error (L , "no ctx found" );
You can’t perform that action at this time.
0 commit comments