### Description
I am doing some experiments with NGHTTP2 Module to make use of it in some 
scenarios, where Kamailio receives HTTP2 requests and has t react on them, 
unfortunately the module is causing Kamailio to crash upon receiving a request 
and need to be restarted.
Also the Docs for the module need some correction : 
https://www.kamailio.org/docs/modules/5.9.x/modules/nghttp2.html
Missing required Parameters :
modparam("nghttp2", "tls_private_key", "key_in_PEM_Format")
modparam("nghttp2", "tls_public_key", "certificate_in_PEM_Format")

also $nghttp2(url) is wrong, $nghttp2(path) or $nghttp2(pathfull) is the 
correct ones.

its also annoying to have it only working in TLS, would it possible to make it 
also works without TLS ? 

#### Reproduction

the fastest way it to connect to NGHTTP2 server with curl :

curl --http2-prior-knowledge -v -k https://server_ip:port/

#### Debugging Data

```
92(132) DEBUG: nghttp2 [nghttp2_server.c:717]: eventcb(): 172.22.0.1 connected
92(132) DEBUG: nghttp2 [nghttp2_server.c:507]: on_request_recv(): 172.22.0.1 
GET /
92(132) DEBUG: nghttp2 [nghttp2_mod.c:522]: ksr_event_route(): executing 
event_route[nghttp2:request] (1)
free(): invalid pointer
102(142) CRITICAL: <core> [core/pass_fd.c:281]: receive_fd(): EOF on 7
102(142) DEBUG: <core> [core/tcp_main.c:3984]: handle_ser_child(): dead child 
92, pid 132 (shutting down?)
102(142) DEBUG: <core> [core/io_wait.h:599]: io_watch_del(): DBG: io_watch_del 
(0x5b85ddc10ae0, 7, -1, 0x0) fd_no=130 called
 0(40) ALERT: <core> [main.c:806]: handle_sigs(): child process 132 exited by a 
signal 6
 0(40) ALERT: <core> [main.c:810]: handle_sigs(): core was generated


```

#### Log Messages

<!--
Check the syslog file and if there are relevant log messages printed by 
Kamailio, add them next, or attach to issue, or provide a link to download them 
(e.g., to a pastebin site).
-->

```
https://pastebin.com/MQe4F5sv

```



### Additional Information

  * **Kamailio Version**  5.8

* **Operating System**:

Ubuntu 24.04


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3917
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to