1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch ea0f5481f0 http: Add reference counting to the session object.
* common/http.c (http_session_t): Add field "refcount".
(_my_socket_new, _my_socket_ref, _my_socket_unref): Add debug code.
(send_request, my_npth_read, my_npth_write): Use SOCK object for the
transport ptr.
(http_session_release): Factor all code out to ...
(session_unref): here.  Deref SOCK.
(http_session_new): Init refcount and transport ptr.
(http_session_ref): New.  Ref and unref all assignments.
--

Having the reference counted session objects makes it easier for the
application to pass around only an estream.  Without that the
application would need to implement an es_onclose machinery for the
session object.
2014-05-05 16:06:42 +02:00
..
2014-03-07 08:51:47 +01:00
2014-03-07 08:51:47 +01:00
2014-04-22 16:59:06 +02:00
2013-11-18 14:09:47 +01:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2013-11-18 14:09:47 +01:00
2014-04-22 16:59:06 +02:00
2014-01-29 17:45:05 +01:00
2011-02-04 12:57:53 +01:00
2014-01-29 17:45:05 +01:00
2007-07-04 19:49:40 +00:00
2014-05-02 11:19:25 +02:00
2014-03-06 15:28:42 +01:00
2014-04-08 17:06:17 +02:00
2014-04-08 11:59:39 +09:00
2012-11-20 19:03:49 +01:00
2013-01-30 18:51:56 +01:00
2014-04-22 15:02:05 +02:00
2012-03-27 19:46:20 +02:00
2014-04-17 21:09:10 +02:00
2014-05-02 11:19:25 +02:00
2014-01-29 17:45:05 +01:00
2014-04-17 21:09:10 +02:00
2013-07-31 16:25:41 +02:00
2011-02-04 12:57:53 +01:00
2014-04-17 21:09:10 +02:00

Stuff used by several modules of GnuPG.

These directories use it:

gpg
sm
agent

These directories don't use it:

kbx