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)
113
113
114
114
#if (NGX_HTTP_V2 )
115
115
if (mr -> stream ) {
116
- return luaL_error (L , "http v2 not supported yet" );
116
+ return luaL_error (L , "http2 requests not supported yet" );
117
117
}
118
118
#endif
119
119
Original file line number Diff line number Diff line change @@ -166,6 +166,12 @@ ngx_http_lua_ngx_location_capture_multi(lua_State *L)
166
166
return luaL_error (L , "no request object found" );
167
167
}
168
168
169
+ #if (NGX_HTTP_V2 )
170
+ if (r -> main -> stream ) {
171
+ return luaL_error (L , "http2 requests not supported yet" );
172
+ }
173
+ #endif
174
+
169
175
ctx = ngx_http_get_module_ctx (r , ngx_http_lua_module );
170
176
if (ctx == NULL ) {
171
177
return luaL_error (L , "no ctx found" );
You can’t perform that action at this time.
0 commit comments