Changeset 204ba47 in mainline
- Timestamp:
- 2015-06-08T13:16:48Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1f2b07a
- Parents:
- 048cd69
- Location:
- uspace
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nterm/conn.c
r048cd69 r204ba47 75 75 rc = tcp_conn_recv(conn, recv_buf, RECV_BUF_SIZE, &nrecv); 76 76 if (rc != EOK) { 77 printf("\n[Receive error ]\n");77 printf("\n[Receive error %d]\n", rc); 78 78 break; 79 79 } -
uspace/lib/c/generic/inet/tcp.c
r048cd69 r204ba47 525 525 fibril_condvar_broadcast(&conn->cv); 526 526 527 if (conn->cb != NULL && conn->cb->data_avail != NULL) 528 conn->cb->data_avail(conn); 529 527 530 async_answer_0(iid, EOK); 528 531 } -
uspace/srv/net/tcp/conn.c
r048cd69 r204ba47 1011 1011 1012 1012 /* Signal to the receive function that new data has arrived */ 1013 fibril_condvar_broadcast(&conn->rcv_buf_cv); 1014 if (conn->cb != NULL && conn->cb->recv_data != NULL) 1015 conn->cb->recv_data(conn, conn->cb_arg); 1013 if (xfer_size > 0) { 1014 fibril_condvar_broadcast(&conn->rcv_buf_cv); 1015 if (conn->cb != NULL && conn->cb->recv_data != NULL) 1016 conn->cb->recv_data(conn, conn->cb_arg); 1017 } 1016 1018 1017 1019 log_msg(LOG_DEFAULT, LVL_DEBUG, "Received %zu bytes of data.", xfer_size); -
uspace/srv/net/tcp/service.c
r048cd69 r204ba47 769 769 } 770 770 771 size = m ax(size, 16384);771 size = min(size, 16384); 772 772 data = malloc(size); 773 773 if (data == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.