simple_io.c revision e811d6e3aec5ec21c6de99652feff5d1f883daa6
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek/* Licensed to the Apache Software Foundation (ASF) under one or more
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek * contributor license agreements. See the NOTICE file distributed with
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek * this work for additional information regarding copyright ownership.
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek * The ASF licenses this file to You under the Apache License, Version 2.0
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek * (the "License"); you may not use this file except in compliance with
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek * the License. You may obtain a copy of the License at
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek * Unless required by applicable law or agreed to in writing, software
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek * distributed under the License is distributed on an "AS IS" BASIS,
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek * See the License for the specific language governing permissions and
d43c9d18fb263b1ea4071b20e93ce4994583f62fJakub Hrozek * limitations under the License.
void *baton)
static apr_status_t
while (!c->aborted) {
if (!c->aborted) {
* fall thru to either wait for readability/timeout or
else if (c->data_in_output_filters) {
scon,
return APR_SUCCESS;
else if (c->data_in_input_filters) {
return APR_SUCCESS;
scon,
if (rv) {
return APR_SUCCESS;
return APR_SUCCESS;
if (rv) {
return NULL;
long conn_id = 0;
if (rv) {
return NULL;
if (rv) {
/* pqXXXXXX: unixd.c has _tons_ of custom handling on return values
return APR_SUCCESS;
scon,
NULL);
return APR_SUCCESS;
sb,
NULL);