mod_echo.c revision 2ca35dfe6262e98b832538efffcd67cd0ce1c40d
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding/* Licensed to the Apache Software Foundation (ASF) under one or more
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding * contributor license agreements. See the NOTICE file distributed with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding * this work for additional information regarding copyright ownership.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding * The ASF licenses this file to You under the Apache License, Version 2.0
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding * (the "License"); you may not use this file except in compliance with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding * the License. You may obtain a copy of the License at
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * Unless required by applicable law or agreed to in writing, software
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * distributed under the License is distributed on an "AS IS" BASIS,
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * See the License for the specific language governing permissions and
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * limitations under the License.
int bEnabled;
} EchoConfig;
return pConfig;
&echo_module);
return NULL;
apr_bucket *b;
if (bufflen--)
return APR_EGENERAL;
return APR_EGENERAL;
const char *pos;
const char *str;
!= APR_SUCCESS)
return rv;
b = APR_BUCKET_NEXT(b);
return APR_SUCCESS;
if (!ap_extended_status)
return old_status;
if (last_echoed) {
return old_status;
apr_bucket *b;
&echo_module);
return DECLINED;
c->client_ip);
c->client_ip);
if (!csd) {
c->client_ip);
return OK;
{ NULL }