Skip to content
Snippets Groups Projects
Unverified Commit ac5a507a authored by Kazuho Oku's avatar Kazuho Oku Committed by GitHub
Browse files

Merge pull request #3349 from h2o/kazuho/http3-mruby-middleware

fix h3 CI issues with t/50mruby-middleware.t
parents e9607966 dd95701c
No related branches found
No related tags found
No related merge requests found
......@@ -216,6 +216,7 @@ EOT
proc {|env|
modify_env(env, '$mode')
status, headers, body = H2O.$mode.call(env)
headers.delete('content-length')
[status, headers, Class.new do
def each
yield 'mruby'
......@@ -227,7 +228,6 @@ EOT
my ($server, $tc, $mode, $file, $gopts) = @_;
run_with_curl($server, sub {
my ($proto, $port, $curl) = @_;
local $TODO = "HTTP/3 is not yet supported" if $curl =~ /--http3/;
my ($status, $headers, $body) = get($proto, $port, $curl, "@{[ into_path($tc->{name})]}/$file", $gopts);
is $status, 200;
is $body, 'mruby';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment