提交 07e3b31f 编写于 作者: R Rich Salz

RT2379: Bug in BIO_set_accept_port.pod

The doc says that port can be "*" to mean any port.
That's wrong.
Reviewed-by: NDr. Stephen Henson <steve@openssl.org>
上级 13be7da8
...@@ -59,8 +59,8 @@ the accept socket. See L<BIO_s_fd(3)|BIO_s_fd(3)> ...@@ -59,8 +59,8 @@ the accept socket. See L<BIO_s_fd(3)|BIO_s_fd(3)>
BIO_set_accept_port() uses the string B<name> to set the accept BIO_set_accept_port() uses the string B<name> to set the accept
port. The port is represented as a string of the form "host:port", port. The port is represented as a string of the form "host:port",
where "host" is the interface to use and "port" is the port. where "host" is the interface to use and "port" is the port.
Either or both values can be "*" which is interpreted as meaning The host can be can be "*" which is interpreted as meaning
any interface or port respectively. "port" has the same syntax any interface; "port" has the same syntax
as the port specified in BIO_set_conn_port() for connect BIOs, as the port specified in BIO_set_conn_port() for connect BIOs,
that is it can be a numerical port string or a string to lookup that is it can be a numerical port string or a string to lookup
using getservbyname() and a string table. using getservbyname() and a string table.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册