Re: nghttp2

Daniel-Constantin Mierla via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
On 27.06.25 08:39, mm e via sr-users wrote:
> loadmodule "nghttp2.so"
> modparam("nghttp2", "listen_addr", "0.0.0.0")
> modparam("nghttp2", "listen_port", "8363")
>
> event_route[nghttp2:request] {
> xinfo("request: $nghttp2(method) - url: $nghttp2(path) - data: [$nghttp2(data)]\n");
> nghttp2_reply("200","OK");
> }
>
> curl -H "Content-Type: application/json" -X POST -d '{"test":"data"}' "http://127.0.0.1:8363"
> curl: (56) Recv failure: Connection reset by peer
>
> When using curl request, the message "Recv failure" appears. What is wrong with the settings?

Try curl --http2-prior-knowledge ...

Cheers, Daniel

-- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.