Lines Matching refs:bodysize
36 httpWrite(int fd, const char * body, int bodysize,
41 /*if(bodysize>0)
42 n += write(fd, body, bodysize);*/
47 p = malloc(headerssize+bodysize);
51 memcpy(p+headerssize, body, bodysize);
52 /*n = write(fd, p, headerssize+bodysize);*/
53 n = send(fd, p, headerssize+bodysize, 0);
81 int bodysize;
85 bodysize = (int)strlen(body);
107 url, httpversion, host, portstr, bodysize, action);
109 /*printf("SOAP request : headersize=%d bodysize=%d\n",
110 headerssize, bodysize);
114 printf("SOAPAction: \"%s\" - Content-Length: %d\n", action, bodysize);
118 return httpWrite(fd, body, bodysize, headerbuf, headerssize);