Changeset 3236 for pjproject/trunk
- Timestamp:
- Jul 13, 2010 1:18:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/http_client.c
r3229 r3236 882 882 STR_PREC(hreq->param.version)); 883 883 /* Header field "Host" */ 884 str_snprintf(&pkt, BUF_SIZE, PJ_TRUE, "Host: %.*s \n",885 STR_PREC(hreq->hurl.host) );884 str_snprintf(&pkt, BUF_SIZE, PJ_TRUE, "Host: %.*s:%d\n", 885 STR_PREC(hreq->hurl.host), hreq->hurl.port); 886 886 if (!pj_strcmp2(&hreq->param.method, http_method_names[HTTP_PUT])) { 887 887 char buf[16];
Note: See TracChangeset
for help on using the changeset viewer.