serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1711820 - /serf/trunk/outgoing.c
Date Sun, 01 Nov 2015 15:55:59 GMT
Author: rhuijben
Date: Sun Nov  1 15:55:59 2015
New Revision: 1711820

URL: http://svn.apache.org/viewvc?rev=1711820&view=rev
Log:
* outgoing.c
  (create_request): Following up on r1709415, remove unused function.

Modified:
    serf/trunk/outgoing.c

Modified: serf/trunk/outgoing.c
URL: http://svn.apache.org/viewvc/serf/trunk/outgoing.c?rev=1711820&r1=1711819&r2=1711820&view=diff
==============================================================================
--- serf/trunk/outgoing.c (original)
+++ serf/trunk/outgoing.c Sun Nov  1 15:55:59 2015
@@ -1589,33 +1589,6 @@ void serf_connection_set_framing_type(
     }
 }
 
-static serf_request_t *
-create_request(serf_connection_t *conn,
-               serf_request_setup_t setup,
-               void *setup_baton,
-               int priority,
-               int ssltunnel)
-{
-    serf_request_t *request;
-
-    request = serf_bucket_mem_alloc(conn->allocator, sizeof(*request));
-    request->conn = conn;
-    request->setup = setup;
-    request->setup_baton = setup_baton;
-    request->handler = NULL;
-    request->respool = NULL;
-    request->req_bkt = NULL;
-    request->resp_bkt = NULL;
-    request->priority = priority;
-    request->writing_started = 0;
-    request->ssltunnel = ssltunnel;
-    request->next = NULL;
-    request->auth_baton = NULL;
-
-    return request;
-}
-
-
 apr_interval_time_t serf_connection_get_latency(serf_connection_t *conn)
 {
     if (conn->ctx->proxy_address) {



Mime
View raw message