*) Cache a proxied request in the event that the client cancels the
transfer, provided that the configured percentage of the file has
- already been transfered. It works for HTTP transfers only. The
+ already been transferred. It works for HTTP transfers only. The
new configuration directive is called CacheForceCompletion.
[Glen Parker <glenebob nwlink.com>] PR#2277
<code>%N</code> (see below). These are available for creating
the strings <em>Substitution</em> and <em>TestString</em>.
Figure 2 shows to which locations the back-references are
- transfered for expansion.</p>
+ transferred for expansion.</p>
<p class="figure">
<img src="../images/mod_rewrite_fig2.gif" width="381" height="179" alt="[Needs graphics capability to display]" /><br />
</div><div id="footer">
<p class="apache">Copyright 1999-2004 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
-</body></html>
\ No newline at end of file
+</body></html>
<code>%N</code> (see below). These are available for creating
the strings <em>Substitution</em> and <em>TestString</em>.
Figure 2 shows to which locations the back-references are
- transfered for expansion.</p>
+ transferred for expansion.</p>
<p class="figure">
<img src="../images/mod_rewrite_fig2.gif" width="381"
/*
* client list code
*
- * Each client is assigned a number, which is transfered in the opaque
+ * Each client is assigned a number, which is transferred in the opaque
* field of the WWW-Authenticate and Authorization headers. The number
* is just a simple counter which is incremented for each new client.
* Clients can't forge this number because it is hashed up into the
ap_rvputs(r, "</td><td>", worker->s->redirect, NULL);
ap_rprintf(r, "</td><td>%d</td>", worker->s->lbfactor);
ap_rprintf(r, "<td>%d</td><td>", (int)(worker->s->elected));
- ap_rputs(apr_strfsize(worker->s->transfered, fbuf), r);
+ ap_rputs(apr_strfsize(worker->s->transferred, fbuf), r);
ap_rputs("</td><td>", r);
ap_rputs(apr_strfsize(worker->s->read, fbuf), r);
ap_rputs("</td>\n", r);
"<tr><th>Redir</th><td>Session Route Redirection</td></tr>\n"
"<tr><th>F</th><td>Load Balancer Factor in %</td></tr>\n"
"<tr><th>Acc</th><td>Number of requests</td></tr>\n"
- "<tr><th>Wr</th><td>Number of bytes transfered</td></tr>\n"
+ "<tr><th>Wr</th><td>Number of bytes transferred</td></tr>\n"
"<tr><th>Rd</th><td>Number of bytes read</td></tr>\n"
"</table>", r);
int retries; /* number of retries on this worker */
int lbstatus; /* Current lbstatus */
int lbfactor; /* dynamic lbfactor */
- apr_off_t transfered; /* Number of bytes transfered to remote */
+ apr_off_t transferred;/* Number of bytes transferred to remote */
apr_off_t read; /* Number of bytes read from remote */
apr_size_t elected; /* Number of times the worker was elected */
char route[PROXY_WORKER_MAX_ROUTE_SIZ+1];
conn->worker->hostname);
return HTTP_SERVICE_UNAVAILABLE;
}
- conn->worker->s->transfered += bufsiz;
+ conn->worker->s->transferred += bufsiz;
}
}
"ajp_send_data_msg failed");
break;
}
- conn->worker->s->transfered += bufsiz;
+ conn->worker->s->transferred += bufsiz;
} else {
/* something is wrong TC asks for more body but we are
* already at the end of the body data
int counter, seen_eos, send_chunks;
apr_status_t status;
apr_bucket_brigade *header_brigade, *body_brigade, *input_brigade;
- apr_off_t transfered = 0;
+ apr_off_t transferred = 0;
header_brigade = apr_brigade_create(p, origin->bucket_alloc);
body_brigade = apr_brigade_create(p, origin->bucket_alloc);
e = apr_bucket_flush_create(c->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(header_brigade, e);
- apr_brigade_length(header_brigade, 0, &transfered);
- if (transfered != -1)
- conn->worker->s->transfered += transfered;
+ apr_brigade_length(header_brigade, 0, &transferred);
+ if (transferred != -1)
+ conn->worker->s->transferred += transferred;
if (send_chunks) {
status = ap_pass_brigade(origin->output_filters, header_brigade);
conn->addr, conn->hostname);
return status;
}
- apr_brigade_length(body_brigade, 0, &transfered);
- if (transfered != -1)
- conn->worker->s->transfered += transfered;
+ apr_brigade_length(body_brigade, 0, &transferred);
+ if (transferred != -1)
+ conn->worker->s->transferred += transferred;
apr_brigade_cleanup(body_brigade);
return APR_SUCCESS;
if(bad) printf(" (Connect: %d, Length: %d, Exceptions: %d)\n",
err_conn, err_length, err_except);
if(keepalive) printf("Keep-Alive requests: %d\n", doneka);
- printf("Bytes transfered: %d\n", totalread);
- printf("HTML transfered: %d\n", totalbread);
+ printf("Bytes transferred: %d\n", totalread);
+ printf("HTML transferred: %d\n", totalbread);
/* avoid divide by zero */
if(timetaken) {