Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngx.req.raw_header() err http v2 not supported yet #979

Closed
chaclee opened this issue Feb 8, 2017 · 1 comment
Closed

ngx.req.raw_header() err http v2 not supported yet #979

chaclee opened this issue Feb 8, 2017 · 1 comment

Comments

@chaclee
Copy link

chaclee commented Feb 8, 2017

when i use ngx.print(ngx.req.raw_header())

not support http2?

2017/02/08 09:39:04 [error] 9681#0: *41 lua entry thread aborted: runtime error: /home/taoyu/web/index.lua:63: http v2 not supported yet
stack traceback:
coroutine 0:
[C]: in function 'raw_header'
/home/taoyu/web/index.lua:63: in function </home/taoyu/web/index.lua:1>, client: 119.98.107.52, server: taoyu.me, request: "GET / HTTP/2.0", host: "taoyu.me"

@spacewander
Copy link
Member

https://github.com/openresty/lua-nginx-module#ngxreqraw_header
The HTTP/2 support of ngx.raw_header is still on TODO list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants