- The proper setting for SIGPIPE is SIG_IGN, if user code changes it
for any of their own processing, it must be restored to SIG_IGN
prior to executing or returning to any apache code.
- TODO: add SIGPIPE debugging check somewhere to make sure its SIG_IGN
+ TODO: add SIGPIPE debugging check somewhere to make sure it's SIG_IGN
*/
/**
* APEXIT_INIT:
* A fatal error arising during the server's init sequence
* APEXIT_CHILDINIT:
- * The child died during it's init sequence
+ * The child died during its init sequence
* APEXIT_CHILDFATAL:
* A fatal error, resulting in the whole server aborting.
* If a child exits with this error, the parent process
/*
* Get the client given its client number (the key). Returns the entry,
- * or NULL if its not found.
+ * or NULL if it's not found.
*
* Access to the list itself is synchronized via locks. However, access
* to the entry returned by get_client() is NOT synchronized. This means
return HTTP_INTERNAL_SERVER_ERROR;
}
- /* Although its not to spec, IIS seems to null-terminate
+ /* Although it's not to spec, IIS seems to null-terminate
* its lpdData string. So we will too.
*/
if (res == 0)
if (WaitForSingleObject(cid->complete, isa->timeout)
== WAIT_TIMEOUT) {
/* TODO: Now what... if this hung, then do we kill our own
- * thread to force it's death? For now leave timeout = -1
+ * thread to force its death? For now leave timeout = -1
*/
}
}
* Finally we had to remember if a MIME-type should be
* forced for this URL (`RewriteRule .. .. [T=<type>]')
* Later in the API processing phase this is forced by our
- * MIME API-hook function. This time its no problem even for
+ * MIME API-hook function. This time it's no problem even for
* the per-directory context (where the MIME-type hook was
* already processed) because a sub-request happens ;-)
*/
* string.
*
* We don't really need to test it explicitly since path has no explicit
- * character that indicates its precense, and so we test empty paths all
+ * character that indicates its presence, and so we test empty paths all
* the time by varying T_path in the loop. It would just cost us extra
* code to special case the empty path string...
*/
sigset_t sig_mask;
int requests_this_child = ap_max_requests_per_child;
apr_pollfd_t *pollset;
- /* each worker thread is in control of it's own destiny...*/
+ /* each worker thread is in control of its own destiny...*/
int this_worker_should_exit = 0;
free(ti);
}
/* setup the child pool to use for the workers. Each worker creates
- * a seperate pool of it's own to use.
+ * a seperate pool of its own to use.
*/
apr_pool_create(&pchild, pconf);
/*
* Initialize mutex lock.
- * Done by each child at it's birth
+ * Done by each child at its birth
*/
static void accept_mutex_child_init(apr_pool_t *p)
{
/* signal_service_transition is a simple thunk to signal the service
- * and monitor it's successful transition. If the signal passed is 0,
+ * and monitor its successful transition. If the signal passed is 0,
* then the caller is assumed to already have performed some service
* operation to be monitored (such as StartService), and no actual
* ControlService signal is sent.
/* ### We no longer need the test ap_os_is_filename_valid() here
* since apr_stat isn't a posix thing - it's apr_stat's responsibility
- * to handle whatever path string arrives at it's door - by platform
+ * to handle whatever path string arrives at its door - by platform
* and volume restrictions as applicable...
* TODO: This code becomes even simpler if apr_stat grows
* an APR_PATHINCOMPLETE result to indicate that we are staring at
*/
/* We choose apr_lstat here, rather that apr_stat, so that we
- * capture this path object rather than it's target. We will
+ * capture this path object rather than its target. We will
* replace the info with our target's info below. We especially
- * want the name of this 'link' object, not the name of it's
+ * want the name of this 'link' object, not the name of its
* target, if we are fixing case.
*/
rv = apr_lstat(&r->finfo, r->filename, APR_FINFO_MIN | APR_FINFO_NAME, r->pool);