예제 #1
0
파일: client.c 프로젝트: BIDXOM/http-2
/*
    Read with standard connection timeouts and in blocking mode for clients, non-blocking for server-side
 */
PUBLIC ssize httpRead(HttpConn *conn, char *buf, ssize size)
{
    return httpReadBlock(conn, buf, size, -1, 0);
}
예제 #2
0
파일: client.c 프로젝트: embedthis/http
/*
    Read with standard connection timeouts and in blocking mode for clients, non-blocking for server-side
 */
PUBLIC ssize httpRead(HttpStream *stream, char *buf, ssize size)
{
    return httpReadBlock(stream, buf, size, -1, 0);
}