Lines Matching full:session
27 #include "session.h"
62 SPDYF_raw_new_session(struct SPDY_Session *session)
69 fd_flags = fcntl (session->socket_fd, F_GETFL);
71 || 0 != fcntl (session->socket_fd, F_SETFL, fd_flags | O_NONBLOCK))
74 if(SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags)
76 ret = setsockopt(session->socket_fd, IPPROTO_TCP, TCP_NODELAY, &val, (socklen_t)sizeof(val));
86 SPDYF_raw_close_session(struct SPDY_Session *session)
88 (void)session;
93 SPDYF_raw_recv(struct SPDY_Session *session,
97 int n = read(session->socket_fd,
122 SPDYF_raw_send(struct SPDY_Session *session,
126 int n = write(session->socket_fd,
151 SPDYF_raw_is_pending(struct SPDY_Session *session)
153 (void)session;
160 SPDYF_raw_before_write(struct SPDY_Session *session)
163 if(0 == (SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags))
168 ret = setsockopt(session->socket_fd, IPPROTO_TCP, TCP_CORK, &val, (socklen_t)sizeof(val));
179 SPDYF_raw_after_write(struct SPDY_Session *session, int was_written)
182 if(SPDY_YES == was_written && 0 == (SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags))
187 ret = setsockopt(session->socket_fd, IPPROTO_TCP, TCP_CORK, &val, (socklen_t)sizeof(val));