We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ccdfc6 commit 6339db4Copy full SHA for 6339db4
1 file changed
ext/openssl/ossl_ssl.c
@@ -2196,9 +2196,12 @@ ossl_ssl_write(VALUE self, VALUE str)
2196
/*
2197
* call-seq:
2198
* ssl.syswrite_nonblock(string) => Integer
2199
+ * ssl.syswrite_nonblock(string, opts) => Integer
2200
*
2201
* Writes _string_ to the SSL connection in a non-blocking manner. Raises an
- * SSLError if writing would block.
2202
+ * SSLError if writing would block. If "exception: false" is passed, this
2203
+ * method returns a symbol of :wait_readable or :wait_writable, rather than
2204
+ * raising an exception.
2205
*/
2206
static VALUE
2207
ossl_ssl_write_nonblock(int argc, VALUE *argv, VALUE self)
0 commit comments