[gnutls-dev] API comments

Simon Josefsson jas at extundo.com
Sun Dec 2 21:28:01 CET 2001


Some comments on the API:

gnutls_read() and gnutls_write() does not seem to work as read() and
write() as the API documentation on the web page says, especially the
error codes differ.  I think it would be nice if they did work as
read() and write(), I believe both Open SSL and Mozilla NSS do that.

It was unclear to me if gnutls_bye() did anything to the socket or not
(like, e.g., calling shutdown()).  I want to be able to use the socket
after disabling TLS, sending unencrypted packets.  Possible?

Documentation in info-format would be nice. :-)

Btw, I wrote some crude Emacs Lisp bindings of GNU TLS,
http://josefsson.org/securemacs/





More information about the Gnutls-devel mailing list