Ignore:
Timestamp:
Feb 4, 2010 6:29:16 PM (14 years ago)
Author:
ming
Message:

Implemented ticket #1018: Simple HTTP client implementation

  • pjlib-util:
    • implement http_client
  • pjlib-util-test:
    • unit test for http_client
  • pjsip-apps/samples:
    • sample http client implementation
  • build:
    • added http_client support on VS6, VS2005, MMP, and Makefile
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/errno.c

    r2394 r3087  
    8989    PJ_BUILD_ERR( PJLIB_UTIL_ESTUNNONCE,        "Missing/stale STUN NONCE attribute value"), 
    9090    PJ_BUILD_ERR( PJLIB_UTIL_ESTUNTSXFAILED,    "STUN transaction terminates with failure"), 
     91 
     92    /* HTTP Client */ 
     93    PJ_BUILD_ERR( PJLIB_UTIL_EHTTPINURL,        "Invalid URL format"), 
     94    PJ_BUILD_ERR( PJLIB_UTIL_EHTTPINPORT,       "Invalid URL port number"), 
     95    PJ_BUILD_ERR( PJLIB_UTIL_EHTTPINCHDR,       "Incomplete response header received"), 
     96    PJ_BUILD_ERR( PJLIB_UTIL_EHTTPINSBUF,       "Insufficient buffer"), 
     97    PJ_BUILD_ERR( PJLIB_UTIL_EHTTPLOST,         "Connection lost"), 
    9198}; 
    9299#endif  /* PJ_HAS_ERROR_STRING */ 
Note: See TracChangeset for help on using the changeset viewer.