openresty / openresty/lua-nginx-module

ngx.location.capture_multi can support http2 request now?

Open
#1,611 7 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.8k
Forks
2.1k
Avg merge
6h 1m
Merged PRs (30d)
6

Description

config nginx support http2.0, when i use ngx.location.capture_multi send multi requests ,i got the error.:
019/10/21 15:18:56 [error] 29895#29895: *11 lua entry thread aborted: runtime error: /usr/local/openresty/nginx/conf/nginx.conf:258: http2 requests not supported yet
stack traceback:
coroutine 0:
[C]: in function 'capture_multi'
/usr/local/openresty/nginx/conf/nginx.conf:155: in function </usr/local/openresty/nginx/conf/nginx.conf:1>, client: 10.16.18.121, server: localhost, request: "GET /favicon.ico HTTP/2.0", h
ost: "10.16.20.229", referrer: "https://10.16.20.229/"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the ngx.location.capture_multi entry point and trace the HTTP/2 request path that produces the reported "http2 requests not supported yet" error. Reproduce the configuration and request pattern from the issue, then define completion as multi-request capture working for HTTP/2 without that runtime error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua, nginx
Domain
backend, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.