mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-24 00:10:12 +00:00
f1eb7638d1
This commit changes nghttpx's mruby script handling. Previously we have 2 options to specify the mruby script file to be run on request and on response. Now they are merged into 1 option, namely --mruby-file. It now must return object. On request, the object's on_req(env) method is invoked with env object. Similarly, on response, the object's on_resp(env) method is invoked. The specification of Env object has not changed. |
||
---|---|---|
.. | ||
.gitignore | ||
alt-server.crt | ||
alt-server.key | ||
config.go.in | ||
Makefile.am | ||
nghttpx_http1_test.go | ||
nghttpx_http2_test.go | ||
nghttpx_spdy_test.go | ||
req-return.rb | ||
req-set-header.rb | ||
resp-return.rb | ||
resp-set-header.rb | ||
server_tester.go | ||
server.crt | ||
server.key | ||
setenv.in |