glib idle callback which calls waitpid (nonblockingously) on all the
authorAlex Graveley <alex@ximian.com>
Wed, 28 Feb 2001 22:27:58 +0000 (22:27 +0000)
committeralex <alex>
Wed, 28 Feb 2001 22:27:58 +0000 (22:27 +0000)
commit5ea4f1603bf282a30a22fef77b4a486373b51ebf
treeb0afb2f30bd779cabd37f88cceeadbdb37b71a57
parentf2016ef52170cedff0e8110e9150610357da764a
glib idle callback which calls waitpid (nonblockingously) on all the

2001-02-28  Alex Graveley  <alex@ximian.com>

* src/soup-core/soup-ssl.c (soup_ssl_idle_waitpid): glib idle
callback which calls waitpid (nonblockingously) on all the
soup-ssl-proxy children to make sure their resources are freed.
(soup_ssl_get_iochannel): execute soup-ssl-proxy, setting up STDIN
and STDOUT to point to the fd we will return a GIOChannel for,
also passing the security policy and the destination socket fd
number in the environments SECURITY_POLICY and SOCKFD,
respectively.

* src/soup-core/soup-ssl-proxy.c: Created. This is a small SSL
proxy executable, licensed GPL, which allows us to use OpenSSL and
NSS without requiring applications which link with libsoup to have
to comply with the licenses of those SSL libraries.

* src/soup-core/soup-server.c (soup_server_register): add handler
to list.

* src/soup-core/soup-queue.c (soup_queue_write_async): ignore
SIGPIPE and handle errno.

* src/soup-core/soup-misc.c (soup_set_security_policy): move from
soup-ssl.c.
(soup_get_security_policy): add.

* src/soup-core/soup-context.c (soup_connection_get_iochannel):
setup TCP socket before getting an SSL wrapper channel.

* src/soup-core/Makefile.am (INCLUDES): add -DBINDIR
(libsoup_la_SOURCES): remove ssl backends
(soup_ssl_proxy_SOURCES): create soup-ssl-proxy

* src/soup-core/.cvsignore: add soup-ssl-proxy
ChangeLog
libsoup/.cvsignore
libsoup/Makefile.am
libsoup/soup-context.c
libsoup/soup-misc.c
libsoup/soup-misc.h
libsoup/soup-queue.c
libsoup/soup-server.c
libsoup/soup-server.h
libsoup/soup-socks.c
libsoup/soup-ssl.c