示例#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);
}