We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Test resolving with HTTP2::Protocol module. Some initial code I have left around from inital tests:
my $req = Protocol::HTTP2::Client->new->request( ':scheme' => 'https', ':authority' => $self->server, ':path' => '/dns-query', ':method' => 'POST', headers => [ 'accept' => 'application/dns-message', 'content-type' => 'application/dns-message', 'user-agent' => 'DoH::Client', ], content => $q->encode, on_done => sub { print "----------ON DONE------------\n"; print Dumper(\@_); print "----------END DONE-----------\n"; }, close => 1, ); my $client = IO::Socket::SSL->new( PeerHost => $self->server, PeerService => 443, ) or die "error=$!, ssl_error=$SSL_ERROR"; while ( my $frame = $req->next_frame ) { print $client $frame; } my $buf; while ( $client->sysread($buf, 16*1024) != 0 ) { print Dumper($buf); $req->feed($buf); } close $client;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Test resolving with HTTP2::Protocol module. Some initial code I have left around from inital tests:
The text was updated successfully, but these errors were encountered: