Commit 37072e21 authored by Pekka Pessi's avatar Pekka Pessi

Moved rest of the threadpool stuff into tport_threadpool.c.

darcs-hash:20060426171851-65a35-4b51c44caf31117062f744d3aac220cea7f251ea.gz
parent 3db6aaa1
......@@ -3010,8 +3010,8 @@ tport_t *tport_tsend(tport_t *self,
return NULL;
}
if (tport_is_connection_oriented(self) ||
(!tport_is_registered(self) && !self->tp_pri->pri_threadpool)) {
if (tport_is_connection_oriented(self)
|| self->tp_params->tpp_conn_orient) {
#if 0 && HAVE_UPNP /* We do not want to use UPnP with secondary transports! */
if (upnp_register_upnp_client(1) != 0) {
upnp_check_for_nat();
......
......@@ -77,7 +77,6 @@ SOFIA_BEGIN_DECLS
typedef struct tport_master tport_master_t;
typedef struct tport_pending_s tport_pending_t;
typedef struct tport_threadpool tport_threadpool_t;
typedef struct tport_primary tport_primary_t;
typedef struct tport_vtable tport_vtable_t;
......@@ -230,9 +229,6 @@ struct tport_primary {
tport_t *pri_secondary; /**< Secondary tports */
tport_threadpool_t *pri_threadpool; /**< Worker threads */
unsigned pri_thrpsize;
unsigned pri_updating:1; /**< Currently updating address */
unsigned pri_natted:1; /**< Using natted address */
unsigned pri_has_tls:1; /**< Supports tls */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment