async connections working

--HG--
branch : fastopen
This commit is contained in:
Matt Johnston
2015-02-18 22:46:15 +08:00
parent 8795d733ec
commit 755c1458f0
11 changed files with 108 additions and 105 deletions

View File

@@ -52,6 +52,7 @@ static buffer* buf_decompress(buffer* buf, unsigned int len);
static void buf_compress(buffer * dest, buffer * src, unsigned int len);
#endif
#if 0
struct iovec * dropbear_queue_to_iovec(struct Queue *queue) {
struct iovec *iov = NULL;
@@ -69,6 +70,7 @@ struct iovec * dropbear_queue_to_iovec(struct Queue *queue) {
void dropbear_queue_consume(struct Queue *queue, ssize_t written) {
}
#endif
/* non-blocking function writing out a current encrypted packet */
void write_packet() {