Skip to content

Commit

Permalink
FIXME -> TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-iancu committed Feb 24, 2015
1 parent 3222e1e commit 66f368e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/proto_tcp/tcp_common.h
Expand Up @@ -398,8 +398,6 @@ static inline int tcp_handle_req(struct tcp_req *req,
&(con->rcv.src_su), con->rcv.proto_reserved1) < 0) {
LM_ERR("CRLF pong - tcp_send() failed\n");
}
//FIXME if (!size)
// goto done;
} else {
msg_buf = req->start;
msg_len = req->parsed-req->start;
Expand All @@ -415,7 +413,9 @@ static inline int tcp_handle_req(struct tcp_req *req,
* detach it , release the conn and free it afterwards */
con->con_req = NULL;
}
//FIXME goto done;
/* TODO - we could indicate to the TCP net layer to release
* the connection -> other worker may read the next available
* message on the pipe */
} else {
LM_DBG("We still have things on the pipe - "
"keeping connection \n");
Expand Down

0 comments on commit 66f368e

Please sign in to comment.