SSL.Packet: Added some provisions for overloading.
SSL.Packet: Removed some unused private variables.
SSL.Packet: Added seq_num to Packet.
This is in preparation for implementing DTLS (#10032).
Merge commit '722771973bd' into patches/lyslyskom22891031
* commit '722771973bd': (6177 commits)
Verify that callablep responses are aligned with reality.
Merge commit '2470270f500c728d10b8895314d8d8b07016e37b' into grubba/typechecker-automap
* commit '2470270f500c728d10b8895314d8d8b07016e37b': (18681 commits)
Removed the old typechecker.
Merge remote-tracking branch 'origin/master' into new_utf8
Merge remote-tracking branch 'origin/8.1' into gobject-introspection
Improved debug messages.
Merge remote-tracking branch 'origin/8.1' into peter/travis
Packet protocol version is capped at TLS 1.2
SSL: The record_version in TLS 1.3 is fixed to TLS 1.0.
Removed trailing spaces.
Let the packet errors be generated by the recv caller.
The version in the recors are fixed at 3,1 in TLS 1.3.
Size check was broken and didn't return an alert properly (though would break later as no data was added).
Changed packet parsing to use Stdio.Buffer objects. The Packet factory is still weird and needs some more thought.
Serialize packets directly into the output buffer.
SSL.Packet: Fixed return type for send().
Correctly check the fragment size in the different stages of decoding.
Stop sending the protocol version around so much.
Hide and document marginal_size
Unknown packet type is a fatal error.
SSL.Connection: Added some doc for got_data().
Removed some dead code in got_data() that originated in
the old blocking-mode.
Also improved a few types.
Documentation and debug updates.
Revert most of "Use correct Alert for the errors."
We need to avoid the circular compilation-time dependency here,
else the dumping will fail.
This reverts commit 33d666a15c27b9bef23f5dd8b513043f70165097.
Use correct Alert for the errors.
Set fragment to 0 between each fragment as paranoia. This prevents stale fragment data in case of packet parse error.
packet -> Packet. Slowly moving towards import ".".