21 Commits

Author SHA1 Message Date
2fb11dffae SSL shutdown for rtmps.
While rtmp module does not support SSL, starting from nginx 1.25.5 an SSL
connection can be passed from nginx stream pass module.  Such connections
should be shut down on connection closure.

An rtmps example:

rtmp {
    server {
        listen 1935; # rtmp
        application foo {
            live on;
        }
    }
}

stream {
    server {
        listen 1936 ssl; # rtmps
        ssl_certificate example.com.crt;
        ssl_certificate_key example.com.key;
        pass 127.0.0.1:1935;
    }
}
2024-04-03 11:24:47 +04:00
716d3c8b23 Add "fall through" comments
Without these comments gcc7 will complain (-Wimplicit-fallthrough).

This fixes #1109.
2017-09-28 18:13:20 +01:00
5fb4c99ca9 added queue init 2014-09-21 10:17:58 +04:00
4e780909b9 added proxy protocol support 2014-03-31 08:52:20 +04:00
39717828d6 implemented default buflen setting 2014-01-16 22:56:08 +04:00
b9fcf7d880 removed trailing spaces 2013-11-30 11:21:53 +04:00
f599c70568 updated copyright line 2013-11-03 23:11:37 +04:00
f94fcee9fb included ngx_config.h & ngx_core.h to every file 2013-06-12 20:47:23 +04:00
e28dfad05c fixed static code analysis errors; thanks to @pgbi 2013-02-15 14:23:23 +04:00
f4b29b0547 added naccepted value to stat 2013-02-02 22:18:19 +04:00
00a640d0d6 implemented stat_stub decrement for nginx_stat to work properly 2013-01-28 14:02:46 +04:00
b85499c144 renamed log context & implemented command/name/args in access logger 2013-01-13 14:44:08 +04:00
95880e2bb6 fixed double-finalizing session 2012-11-20 16:32:41 +04:00
3492892450 fixed bad-looking unix socket client name 2012-08-27 21:07:38 +04:00
dd19680ed9 skipped on_publish/access/record for auto-pushed connections 2012-07-20 13:06:17 +04:00
2fdec45460 fixed out queue allocation & made out_cork default value dependant on out_queue 2012-06-14 20:08:57 +04:00
7c99cfba0a moved out queue params to config 2012-06-14 19:53:21 +04:00
7112fd9fd4 fixed compiler warning 2012-05-30 17:01:38 +04:00
49382c826b implemented RTMP ping 2012-05-26 08:33:41 +04:00
83dbef4567 early relay implementation 2012-05-16 15:56:27 +04:00
bd40fe63f9 implemented encrypted handshake 2012-05-03 02:28:21 +04:00