Commit 1e9a946e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

move HTTP-specific functions to http.c where they belong

parent 7cd5ffc1
Loading
Loading
Loading
Loading
+756 −0

File changed.

Preview size limit exceeded, changes collapsed.

+12 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@
 ***************************************************************************/
#ifndef CURL_DISABLE_HTTP

struct SingleRequest;

extern const struct Curl_handler Curl_handler_http;

#ifdef USE_SSL
@@ -123,4 +125,14 @@ struct HTTP {
                        points to an allocated send_buffer struct */
};

CURLcode Curl_http_header_append(struct SessionHandle *data,
                                 struct SingleRequest *k,
                                 size_t length);

CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
                                     struct connectdata *conn,
                                     struct SingleRequest *k,
                                     ssize_t *nread,
                                     bool *stop_reading);

#endif
+1 −769

File changed.

Preview size limit exceeded, changes collapsed.