- new ser.cfg option sctp_send_retries + doc
assocation (default: 180 s).
sctp_send_ttl = milliseconds - number of milliseconds before an unsent
message/chunk is dropped (default: 32000 ms or 32 s).
assocation (default: 180 s).
sctp_send_ttl = milliseconds - number of milliseconds before an unsent
message/chunk is dropped (default: 32000 ms or 32 s).
+ sctp_send_retries - how many times to attempt re-sending a message on a
+ re-opened association, if the sctp stack did give up
+ sending it (it's not related to sctp protocol level
+ retransmission). Useful to improve reliability with
+ peers that reboot/restart or fail over to another
+ machine. WARNING: use with care and low values (e.g.
+ 1-3) to avoid "multiplying" traffic to unresponding
+ hosts (default: 0).
server_id = number - A configurable unique server id that can be used to
discriminate server instances within a cluster of
servers when all other information, such as IP adddresses
server_id = number - A configurable unique server id that can be used to
discriminate server instances within a cluster of
servers when all other information, such as IP adddresses
SCTP_SOCKET_SNDBUF "sctp_socket_sndbuf"|"sctp_socket_send_buffer"
SCTP_AUTOCLOSE "sctp_autoclose"
SCTP_SEND_TTL "sctp_send_ttl"
SCTP_SOCKET_SNDBUF "sctp_socket_sndbuf"|"sctp_socket_send_buffer"
SCTP_AUTOCLOSE "sctp_autoclose"
SCTP_SEND_TTL "sctp_send_ttl"
+SCTP_SEND_RETRIES "sctp_send_retries"
ADVERTISED_ADDRESS "advertised_address"
ADVERTISED_PORT "advertised_port"
DISABLE_CORE "disable_core_dump"
ADVERTISED_ADDRESS "advertised_address"
ADVERTISED_PORT "advertised_port"
DISABLE_CORE "disable_core_dump"
return SCTP_AUTOCLOSE; }
<INITIAL>{SCTP_SEND_TTL} { count(); yylval.strval=yytext;
return SCTP_SEND_TTL; }
return SCTP_AUTOCLOSE; }
<INITIAL>{SCTP_SEND_TTL} { count(); yylval.strval=yytext;
return SCTP_SEND_TTL; }
+<INITIAL>{SCTP_SEND_RETRIES} { count(); yylval.strval=yytext;
+ return SCTP_SEND_RETRIES; }
<INITIAL>{SERVER_SIGNATURE} { count(); yylval.strval=yytext; return SERVER_SIGNATURE; }
<INITIAL>{REPLY_TO_VIA} { count(); yylval.strval=yytext; return REPLY_TO_VIA; }
<INITIAL>{ADVERTISED_ADDRESS} { count(); yylval.strval=yytext;
<INITIAL>{SERVER_SIGNATURE} { count(); yylval.strval=yytext; return SERVER_SIGNATURE; }
<INITIAL>{REPLY_TO_VIA} { count(); yylval.strval=yytext; return REPLY_TO_VIA; }
<INITIAL>{ADVERTISED_ADDRESS} { count(); yylval.strval=yytext;
%token SCTP_SOCKET_SNDBUF
%token SCTP_AUTOCLOSE
%token SCTP_SEND_TTL
%token SCTP_SOCKET_SNDBUF
%token SCTP_AUTOCLOSE
%token SCTP_SEND_TTL
+%token SCTP_SEND_RETRIES
%token ADVERTISED_ADDRESS
%token ADVERTISED_PORT
%token DISABLE_CORE
%token ADVERTISED_ADDRESS
%token ADVERTISED_PORT
%token DISABLE_CORE
#endif
}
| SCTP_SEND_TTL EQUAL error { yyerror("number expected"); }
#endif
}
| SCTP_SEND_TTL EQUAL error { yyerror("number expected"); }
+ | SCTP_SEND_RETRIES EQUAL NUMBER {
+ #ifdef USE_SCTP
+ sctp_options.sctp_send_retries=$3;
+ #else
+ warn("sctp support not compiled in");
+ #endif
+ }
+ | SCTP_SEND_RETRIES EQUAL error { yyerror("number expected"); }
| SERVER_SIGNATURE EQUAL NUMBER { server_signature=$3; }
| SERVER_SIGNATURE EQUAL error { yyerror("boolean value expected"); }
| REPLY_TO_VIA EQUAL NUMBER { reply_to_via=$3; }
| SERVER_SIGNATURE EQUAL NUMBER { server_signature=$3; }
| SERVER_SIGNATURE EQUAL error { yyerror("boolean value expected"); }
| REPLY_TO_VIA EQUAL NUMBER { reply_to_via=$3; }