* This routine is called just after the server accepts the connection, * but before it is handed off to a protocol module to be served. The point * of this hook is to allow modules an opportunity to modify the connection * as soon as possible. The core server uses this phase to setup the * connection record based on the type of connection that is being used. * * This is a RUN_ALL hook. */
| 1113 | * This is a RUN_ALL hook. |
| 1114 | */ |
| 1115 | static int x_pre_connection(conn_rec *c, void *csd) |
| 1116 | { |
| 1117 | char *note; |
| 1118 | |
| 1119 | /* |
| 1120 | * Log the call and exit. |
| 1121 | */ |
| 1122 | note = apr_psprintf(c->pool, "x_pre_connection(c = %pp, p = %pp)", |
| 1123 | (void*) c, (void*) c->pool); |
| 1124 | trace_connection(c, note); |
| 1125 | |
| 1126 | return OK; |
| 1127 | } |
| 1128 | |
| 1129 | /* This routine is used to actually process the connection that was received. |
| 1130 | * Only protocol modules should implement this hook, as it gives them an |
nothing calls this directly
no test coverage detected