src/server/daemon/httprequest.c

changeset 54
3a1d5a52adfc
parent 49
1fd94945796e
child 59
ab25c0a231d0
equal deleted inserted replaced
53:5ec9abba1027 54:3a1d5a52adfc
75 75
76 // fill session structure 76 // fill session structure
77 sn->connection = request->connection; 77 sn->connection = request->connection;
78 sn->netbuf = request->netbuf; 78 sn->netbuf = request->netbuf;
79 sn->sn.pool = pool; 79 sn->sn.pool = pool;
80 sn->sn.csd = stream_new_from_fd(pool, request->connection->fd); 80 //sn->sn.csd = stream_new_from_fd(pool, request->connection->fd);
81 sn->sn.csd = net_stream_from_fd(pool, request->connection->fd);
81 sn->sn.client = pblock_create_pool(sn->sn.pool, 8); 82 sn->sn.client = pblock_create_pool(sn->sn.pool, 8);
82 sn->sn.next = NULL; 83 sn->sn.next = NULL;
83 sn->sn.fill = 1; 84 sn->sn.fill = 1;
84 sn->sn.subject = NULL; 85 sn->sn.subject = NULL;
85 86

mercurial