Branch: Tag:

2019-11-02

2019-11-02 20:18:26 by Peter Bortas <bortas@gmail.com>

Change "?->" to the new "->?" syntax throughout Pike

2019-10-12

2019-10-12 11:55:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Flush data before regarding the connection closed.

2019-10-12 11:49:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Flush data before regarding the connection closed.

2019-10-09

2019-10-09 13:23:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Return EPIPE frome write() if the peer has closed the connection.

2019-10-09 13:19:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Return EPIPE frome write() if the peer has closed the connection.

2019-10-08

2019-10-08 10:27:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: query_{suite,version}() now both return -1 when unknown.

Fixes some testsuite failures.

2019-10-08 10:24:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: query_{suite,version}() now both return -1 when unknown.

Fixes some testsuite failures.

2019-10-07

2019-10-07 09:36:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Only call the write_callback if it exists...

2019-10-07 09:35:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Only call the write_callback if it exists...

2019-10-05

2019-10-05 13:28:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Only set peer_closed when the peer actually has closed.

2019-10-05 13:24:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Only set peer_closed when the peer actually has closed.

2019-10-03

2019-10-03 12:07:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Adjusted some state macros.

SSL_HANDSHAKING is now terminated when the connection has
entered the CONNECTION_local_fatal state.

SSL_INTERNAL_WRITING now requires there to not be any write errors.

2019-10-03 12:03:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Adjusted some state macros.

SSL_HANDSHAKING is now terminated when the connection has
entered the CONNECTION_local_fatal state.

SSL_INTERNAL_WRITING now requires there to not be any write errors.

2019-10-01

2019-10-01 12:09:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Improved diagnostics in SSL3_DEBUG mode.

2019-10-01 12:08:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Improved diagnostics in SSL3_DEBUG mode.

2019-09-30

2019-09-30 17:09:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: The write callback must not be called during handshaking.

Fixes several testsuite failures.

2019-09-30 17:07:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: The write callback must not be called during handshaking.

Fixes several testsuite failures.

2019-09-26

2019-09-26 09:58:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Call the write_callback when pending write error.

2019-09-26 09:57:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Call the write_callback when pending write error.

2019-06-24

2019-06-24 21:48:45 by Stephen R. van den Berg <srb@cuci.nl>

SSL.File: Add support for set_nodelay().

2019-05-04

2019-05-04 09:12:19 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/master' into new_utf8

2019-03-19

2019-03-19 12:33:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '722771973bd' into patches/lyslyskom22891031

* commit '722771973bd': (6177 commits)
Verify that callablep responses are aligned with reality.
...

2019-02-07

2019-02-07 15:02:50 by William Welliver <william@welliver.org>

Merge branch 'grubba/wop-local-variables-debug-info' into bill/debugger-concept

2019-02-02

2019-02-02 09:30:19 by Tobias S. Josefowitz <tobij@tobij.de>

Stdio: Buffer mode now uses ->write(Stdio.Buffer()) API

As part of this change, the Stdio.Buffer()->__fd_set_output() API got
replaced by Stdio.Buffer()->__set_on_write(), and users (File and
SSL.File) have been adopted to use it.

2018-11-04

2018-11-04 16:11:11 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/master' into new_utf8

2018-11-03

2018-11-03 14:21:37 by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/8.1' into gobject-introspection

2018-10-25

2018-10-25 10:07:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Do not close automatically on write error.

The internal ssl_write_callback() would call shutdown()
on write error, which would cause the object to enter
one of the closed states, without the user actually
having closed the file.

This in turn caused errors like "Not open.\n" from
functions like read() and set_nonblocking().

Potential fix for [PIKE-138].

2018-10-25 10:06:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Do not close automatically on write error.

The internal ssl_write_callback() would call shutdown()
on write error, which would cause the object to enter
one of the closed states, without the user actually
having closed the file.

This in turn caused errors like "Not open.\n" from
functions like read() and set_nonblocking().

Potential fix for [PIKE-138].

2017-11-21

2017-11-21 09:08:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added support for set_buffer_mode().

Adds support for user provided buffers in both directions.

Updates the {read,write,close}_callbacks to the current conventions of
Stdio.File (this includes defaulting the callback_id to this_object()).

Also adds some corresponding tests to the testsuite.

2017-11-21 09:04:20 by Stephen R. van den Berg <srb@cuci.nl>

SSL.File: Fix docs.

2017-11-21 00:58:08 by Stephen R. van den Berg <srb@cuci.nl>

SSL.File: Implement query_fd().

2017-11-20

2017-11-20 23:48:05 by Stephen R. van den Berg <srb@cuci.nl>

SSL.File: Implement query_fd().

2017-11-05

2017-11-05 15:53:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/rename_lfun_destroy' into 8.1

* grubba/rename_lfun_destroy:
Modules: Fixed logts of warnings.
Testsuite: Updated for LFUN::_destruct().
Compiler: Don't complain about LFUN::destroy() in compat mode.
Fix multiple warnings.
Runtime: LFUN::destroy() has been renamed to _destruct().
Compiler: Rename LFUN::destroy() to LFUN::_destruct().

2017-11-05 15:49:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Modules: Fixed logts of warnings.

More fall out from the LFUN::destroy ==> LFUN::_destruct rename.

2016-05-24

2016-05-24 10:30:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Handle non-empty buffers in set_buffer_mode().

2016-05-22

2016-05-22 20:42:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SSL.File]: Document get_server_name().

Also fixes a documentation typo.

2016-05-21

2016-05-21 17:33:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added support for set_buffer_mode().

Adds support for user provided buffers in both directions.

Updates the {read,write,close}_callbacks to the current conventions of
Stdio.File (this includes defaulting the callback_id to this_object()).

Also adds some corresponding tests to the testsuite.

2016-04-06

2016-04-06 12:38:51 by Bill Welliver <bill@welliver.org>

SSL.File: check that stream exists before attempting to remove callbacks.

2016-04-06 12:38:17 by Bill Welliver <bill@welliver.org>

SSL.File: check that stream exists before attempting to remove callbacks.

2016-02-16

2016-02-16 11:10:15 by Martin Karlgren <marty@roxen.com>

SSL.File: zero stream callbacks in ssl_close_callback.

This breaks circularities that caused fds to be left open until the
next GC run under some circumstances.

2016-02-16 11:10:02 by Martin Karlgren <marty@roxen.com>

SSL.File: zero stream callbacks in ssl_close_callback.

This breaks circularities that caused fds to be left open until the
next GC run under some circumstances.

2016-02-15

2016-02-15 12:56:00 by Marcus Agehall <agehall@gmail.com>

conn is sometimes undefined when internal_poll() is called causing future attempts
to schedule the poll to not do anything.

2016-02-15 12:49:21 by Marcus Agehall <agehall@gmail.com>

conn is sometimes undefined when internal_poll() is called causing future attempts
to schedule the poll to not do anything.

2015-09-06

2015-09-06 19:43:42 by Martin Nilsson <nilsson@fastmail.com>

Cosmetic update of strerror use.

2015-08-03

2015-08-03 12:19:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: More race-condition fixes.

Potential fix for "Indexing the NULL value with "state"." in direct_write().

2015-07-31

2015-07-31 09:22:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File [Threads]: Reduce race-condition window.

If the SSL.File was closed by one thread while another was performing a
blocking write(), the second thread would sometimes index the destructed
Connection object with either "to_write" or "state".

Also fixes a similar problem in is_open().

This should fix intermittent SSL testsuite failures on Solaris.

2015-07-08

2015-07-08 15:54:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added query_application_protocol().

This is needed for protocols using ALPN.

2015-07-08 15:53:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added query_application_protocol().

This is needed for protocols using ALPN.

2015-05-26

2015-05-26 10:33:42 by Martin Nilsson <nilsson@opera.com>

Removed trailing spaces.

2015-05-17

2015-05-17 07:46:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Removed obsolete macro CHECK_CB_MODE().

2015-05-15

2015-05-15 15:19:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Fixed race-condition in is_open().

If the peer had sent some data and closed the connection, is_open()
would in some cases return 0 even though there was data pending.

Fixes intermittent testsuite failures "Client connection was closed.".

2015-03-31

2015-03-31 17:07:50 by Martin Nilsson <nilsson@opera.com>

Simplified queue_write a bit.

2015-03-31 07:16:54 by Jakub Krajewski <jkrajewski@opera.com>

DO-1260: Don't throw error when closing already closed SSL stream.

It fixes yet another scenario when a SSL.File instance throws
"File not open" error during abrupt close.

2015-03-31 06:31:34 by Martin Nilsson <nilsson@opera.com>

Serialize packets directly into the output buffer.

2015-03-31 05:43:43 by Martin Nilsson <nilsson@opera.com>

Change to_write API to return 0 on no data instead of empty string.

2015-03-31 05:19:31 by Martin Nilsson <nilsson@opera.com>

Simplified queue_write a bit.

2015-03-15

2015-03-15 02:32:53 by Martin Nilsson <nilsson@opera.com>

Moved _refs

2015-03-01

2015-03-01 11:52:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Fixed potential hang in is_open().

2015-03-01 11:51:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Fixed potential hang in is_open().

2014-11-29

2014-11-29 16:33:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Improved API for resuming sessions somewhat.

2014-11-29 16:29:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Don't purge sessions on close notify failure.

When closing the connection it is common that the peer has closed the
connection directly after sending its close notification packet without
waiting for a corresponding close notification from us. This is to be
expected, and is not a reason for us to purge the session.

2014-11-29 16:28:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added API for resuming sessions.

2014-11-28

2014-11-28 21:59:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Improved API for resuming sessions somewhat.

2014-11-23

2014-11-23 17:14:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Don't purge sessions on close notify failure.

When closing the connection it is common that the peer has closed the
connection directly after sending its close notification packet without
waiting for a corresponding close notification from us. This is to be
expected, and is not a reason for us to purge the session.

2014-11-23 17:10:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added API for resuming sessions.

2014-11-01

2014-11-01 23:05:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added query_version().

Added function to query the protocol version in use.

2014-11-01 23:03:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added query_version().

Added function to query the protocol version in use.

2014-10-15

2014-10-15 09:17:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Fix several issues in destroy().

destroy() still had several workarounds for the old backend approach
(with update_internal_state() et al), when attempting to close the
connection. Remove the workarounds and update the code to the new
backend approach.

Fixes issue with destroy() hanging in the local backend/throwing errors
due to non-existant local backend.

Also fixes a "Cannot access variables in destructed object." when
a read_callback destructs the SSL.File object.

Thanks to Tobias S. Josefowitz <tobij@tobij.de> for the report.

Fixes [LysLysKOM 21005505].

2014-10-15 09:07:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Fix several issues in destroy().

destroy() still had several workarounds for the old backend approach
(with update_internal_state() et al), when attempting to close the
connection. Remove the workarounds and update the code to the new
backend approach.

Fixes issue with destroy() hanging in the local backend/throwing errors
due to non-existant local backend.

Also fixes a "Cannot access variables in destructed object." when
a read_callback destructs the SSL.File object.

Thanks to Tobias S. Josefowitz <tobij@tobij.de> for the report.

Fixes [LysLysKOM 21005505].

2014-10-14

2014-10-14 16:09:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Propagate fatal alerts to close and write callbacks.

SSL did not call the close_callback on SSL.File()s that connect outgoing
and abort the handshake by sending fatal alerts to the server.

Fatal alerts generated locally (ie due to broken data from peer)
are now signalled on the close and write callbacks with errno set
to ECONNABORTED and fatal alerts received from the peer have errno
set to ECONNRESET.

Thanks to Tobias S. Josefowitz <tobij@tobij.de> for the report.

Tentative fix for [LysLysKOM 21005266].

2014-10-14 16:09:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Propagate fatal alerts to close and write callbacks.

SSL did not call the close_callback on SSL.File()s that connect outgoing
and abort the handshake by sending fatal alerts to the server.

Fatal alerts generated locally (ie due to broken data from peer)
are now signalled on the close and write callbacks with errno set
to ECONNABORTED and fatal alerts received from the peer have errno
set to ECONNRESET.

Thanks to Tobias S. Josefowitz <tobij@tobij.de> for the report.

Tentative fix for [LysLysKOM 21005266].

2014-10-02

2014-10-02 21:32:13 by Martin Nilsson <nilsson@opera.com>

Simplified debug a bit. data is always an array here.

2014-10-01

2014-10-01 14:34:26 by Martin Nilsson <nilsson@opera.com>

Stdio.IOBuffer -> Stdio.Buffer (part 1)

2014-09-30

2014-09-30 15:21:54 by Marcus Cromnow <marcusc@opera.com>

Don't backtrace when local_backend is missing.

2014-09-25

2014-09-25 14:41:43 by Per Hedbor <ph@opera.com>

Survive the SSL.File read callback closing the file.

2014-09-23

2014-09-23 16:43:34 by Martin Nilsson <nilsson@opera.com>

Continue to read if there is more than Stdio.DATA_CHUNK_SIZE data available.

2014-09-23 16:31:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Preparations for adding the new IOBuffer APIs.

This renames read_buffer to user_read_buffer and adds
(unused for now) user_write_buffer.

This is to make it clearer to see on which side of the
encryption the buffers are.

2014-09-19

2014-09-19 07:29:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Use an IOBuffer as read_buffer too.

Switches from using a String.Buffer to an Stdio.IOBuffer for
read_buffer.

2014-09-16

2014-09-16 07:39:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Use only nonblocking operations internally.

Always keep the internal stream in nonblocking mode to
eliminate any risk of hanging in eg IOBuffer()->output_to().

2014-09-13

2014-09-13 10:06:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Use an IOBuffer to buffer write()'s.

This changes the write_buffer implementation from using an array(string)
to using IOBuffer.

Caveat: It is unknown whether this is dead-lock free in
threaded blocking mode.

2014-09-04

2014-09-04 15:57:43 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/8.0' into string_alloc

Conflicts:
src/stralloc.c

2014-08-24

2014-08-24 12:11:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Improved support for renegotiation.

2014-08-15

2014-08-15 20:21:17 by Martin Nilsson <nilsson@opera.com>

Less zero_type.

2014-08-09

2014-08-09 09:13:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Improved robustness of close handling.

The close_state is now set correctly even when there's a pending
close_errno and the peer closes the connection.

2014-08-07

2014-08-07 13:02:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Removed some redundant tests in read().

2014-08-06

2014-08-06 15:45:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added some documentation cross references.

2014-08-05

2014-08-05 13:44:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Fail read() on ALERT.

read() now fails with EIO if the peer has aborted the connection
with a fatal alert.

Also sets errno to EAGAIN in nonblocking read() if no data available
and not closed by peer.

2014-08-04

2014-08-04 17:16:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Fail write() on ALERT.

write() now fails with EIO if the peer has aborted the connection
with a fatal alert.

2014-08-04 17:06:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Improved backend robustness.

Don't bother running the backend if the peer has aborted the connection.

2014-08-03

2014-08-03 10:21:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Improved robustness of closed state.

Fixes remaining bug in threaded blocking mode testsuite.

2014-08-03 10:03:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Fixed potential hang in blocking read().

The remote close packet may already have been received,
in which case no read callback is installed anymore, and
the local backend would hang.

Also updates the documentation to mention that blocking
read and write in concurrent threads now is supported.

2014-08-01

2014-08-01 07:00:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Show the connection state in lfun::_sprintf(%O).

2014-08-01 06:54:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Got rid of unused argument.

The called_from_real_backend arguemnt is no longer used, so there's
no need to keep it around and up to date.

2014-07-31

2014-07-31 07:47:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Removed some obsolete debug checks.

The current Pike backends support multiple concurrent threads running
the backend, so there's no purpose in these thread checks anymore.

2014-07-31 07:42:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Removed some dead code.

2014-07-31 07:36:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Stricter type for backend_once().

2014-07-30

2014-07-30 06:24:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Removed some now ignored arguments.

The two last arguments to RUN_MAYBE_BLOCKING() are no longer used,
so there's no point in having them.

2014-07-30 06:21:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Changed backend handling.

The backend to use (real/local) now strictly depends on blocking/
nonblocking mode. This means that creation of the local backend
can be (and has been) moved to set_blocking{,_keep_callbacks}().

This reduces the number of short-lived backends used by SSL in a
typical nonblocking backend-driven application down to ~ zero.

2014-07-26

2014-07-26 09:19:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Removed some now dead code.

2014-07-24

2014-07-24 11:18:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Revamped handling of errno.

Splits cb_errno into {read,write,close}_errno, which in turn are used to
update local_errno depending on which of {read,write,close,renegotiate}()
et al was called.

Removes the now obsolete FIX_ERRNOS() macro.

Also removes a direct call of close_callback() from ssl_close_callback().

2014-07-23

2014-07-23 12:58:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: The got_extra_read_call_out state is no more.

The extra read call_out has been fully replaced by the
internal_poll() call_out, so remove the last remnants of it.

2014-07-23 10:13:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: update_internal_state() is no more.

As update_internal_state() has become a noop, there's no need
to keep it around anymore.

2014-07-23 10:00:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Improved handling of user callbacks in set_backend().

Any pending callbacks now migrate to the new backend.

Also clears pending callbacks on shutdown().

2014-07-22

2014-07-22 12:52:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Move read_callback setting to read().

The stream read_callback is now set (to ssl_read_callback) whenever
the read buffer isn't full, and cleared when it is.

This reduces the complexity and cleans up the semantics of where
and when the stream read_callback is changed.

Also makes similar changes to the handling of the stream close_callback.

This means that the function update_internal_state() is now a noop.

2014-07-20

2014-07-20 11:10:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Move write_callback setting to queue_write().

The stream write_callback is now set (to ssl_write_callback) whenever
the write_buffer isn't empty, and cleared when it is.

This reduces the complexity and cleans up the semantics of where
and when the stream write_callback is changed.

2014-07-18

2014-07-18 15:27:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Detach chaining of callbacks for read.

The user {accept,read,close}_callback():s are now no longer called
directly from the internal ssl_read_callback(), but instead via
internal_poll() (analogous to ssl_write_callback()).

This attempts at further reducing the code complexity of SSL.File.

2014-07-17

2014-07-17 15:27:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Detach chaining of callbacks for write.

Adds schedule_poll() and internal_poll().

The user {write,close}_callback():s are now no longer called directly
from the internal ssl_write_callback(), but instead via a call_out of
internal_poll() (scheduled by schedule_poll()).

This is a start at attempting to reduce the code complexity of SSL.File.

2014-07-14

2014-07-14 15:13:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: More clean-ups in write().

Reduces the code complexity in write() a bit further.

2014-07-14 12:03:19 by Martin Nilsson <nilsson@opera.com>

Kill NPN fully.

2014-07-11

2014-07-11 12:58:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Unify code paths in write().

Reduce the amount of duplicated code in write() by unifying the code
for the array and string cases.

This has the added benefit of having the array case actually being tested.

2014-06-09

2014-06-09 14:56:46 by Martin Nilsson <nilsson@opera.com>

RFC 6066 only allows one host DN in SNI.

2014-06-01

2014-06-01 11:49:27 by Martin Nilsson <nilsson@opera.com>

sslfile -> File and sslport -> port