diff --git a/reference/event/book.xml b/reference/event/book.xml index 8f84b961a6..9a605d54f9 100644 --- a/reference/event/book.xml +++ b/reference/event/book.xml @@ -12,7 +12,9 @@ - Note, Windows support introduced in event-1.9.0. + Note, Windows support introduced in + event-1.9.0 + . diff --git a/reference/event/eventbufferevent/read.xml b/reference/event/eventbufferevent/read.xml index 9f8f4b15d3..6d4d8baa8a 100644 --- a/reference/event/eventbufferevent/read.xml +++ b/reference/event/eventbufferevent/read.xml @@ -19,7 +19,8 @@ Removes up to size - bytes from the input buffer. Returns a string of data read from the input buffer. + bytes from the input buffer. Returns a string of data read from the input + buffer. diff --git a/reference/event/eventbufferevent/sslerror.xml b/reference/event/eventbufferevent/sslerror.xml index 810c04b4fb..257bbd4bcb 100644 --- a/reference/event/eventbufferevent/sslerror.xml +++ b/reference/event/eventbufferevent/sslerror.xml @@ -31,8 +31,8 @@ &reftitle.returnvalues; - Returns OpenSSL error string reported on the buffer event, - or &false;, if there is no more error to return. + Returns OpenSSL error string reported on the buffer event, or &false;, if + there is no more error to return. diff --git a/reference/event/eventhttp/construct.xml b/reference/event/eventhttp/construct.xml index b2e1512010..6ddd424d69 100644 --- a/reference/event/eventhttp/construct.xml +++ b/reference/event/eventhttp/construct.xml @@ -14,6 +14,11 @@ EventBase base + + EventSslContext + ctx + &null; + Constructs the HTTP server object. @@ -32,6 +37,31 @@ + + + ctx + + + + EventSslContext + class object. Turns plain HTTP server into HTTPS server. It means that + if + ctx + is configured correctly, then the underlying buffer events will be based + on OpenSSL sockets. Thus, all traffic will pass through the SSL or TLS. + + + + This parameter is available only if + Event + is compiled with OpenSSL support and only with + Libevent + 2.1.0-alpha + and higher. + + + + @@ -42,6 +72,29 @@ object. + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 1.9.0 + + OpenSSL support (ctx) added. + + + + + + + &reftitle.examples; diff --git a/reference/event/eventhttpconnection/construct.xml b/reference/event/eventhttpconnection/construct.xml index 4e23c4e0c2..dc43336770 100644 --- a/reference/event/eventhttpconnection/construct.xml +++ b/reference/event/eventhttpconnection/construct.xml @@ -26,6 +26,11 @@ int port + + EventSslContext + ctx + &null; + Constructs EventHttpConnection object. @@ -76,6 +81,27 @@ + + + ctx + + + + EventSslContext + class object. Enables OpenSSL. + + + + This parameter is available only if + Event + is compiled with OpenSSL support and only with + Libevent + 2.1.0-alpha + and higher. + + + + @@ -86,6 +112,29 @@ object. + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 1.9.0 + + OpenSSL support (ctx) added. + + + + + + +