Deleted Added
full compact
socket_buckets.c (251886) socket_buckets.c (262324)
1/* Copyright 2002-2004 Justin Erenkrantz and Greg Stein
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *

--- 36 unchanged lines hidden (view full) ---

45 serf__log_skt(SOCK_VERBOSE, __FILE__, ctx->skt,
46 "socket_recv error %d\n", status);
47
48 if (*len)
49 serf__log_skt(SOCK_MSG_VERBOSE, __FILE__, ctx->skt,
50 "--- socket_recv:\n%.*s\n-(%d)-\n",
51 *len, buf, *len);
52
1/* Copyright 2002-2004 Justin Erenkrantz and Greg Stein
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *

--- 36 unchanged lines hidden (view full) ---

45 serf__log_skt(SOCK_VERBOSE, __FILE__, ctx->skt,
46 "socket_recv error %d\n", status);
47
48 if (*len)
49 serf__log_skt(SOCK_MSG_VERBOSE, __FILE__, ctx->skt,
50 "--- socket_recv:\n%.*s\n-(%d)-\n",
51 *len, buf, *len);
52
53 if (ctx->progress_func)
53 if (ctx->progress_func && *len)
54 ctx->progress_func(ctx->progress_baton, *len, 0);
55
56 return status;
57}
58
59serf_bucket_t *serf_bucket_socket_create(
60 apr_socket_t *skt,
61 serf_bucket_alloc_t *allocator)

--- 64 unchanged lines hidden ---
54 ctx->progress_func(ctx->progress_baton, *len, 0);
55
56 return status;
57}
58
59serf_bucket_t *serf_bucket_socket_create(
60 apr_socket_t *skt,
61 serf_bucket_alloc_t *allocator)

--- 64 unchanged lines hidden ---