PR 51714. [Stefan Fritsch, Jim Jagielski, Ruediger Pluem, Eric Covener,
<lowprio20 gmail.com>]
+ *) mpm_event: Check the return value from ap_run_create_connection.
+ PR: 41194. [Davi Arnaut]
+
*) mod_mime_magic: Add signatures for PNG and SWF to the example config.
PR: 48352. [Jeremy Wagner-Kaiser <jwagner-kaiser adknowledge com>]
cs->bucket_alloc = apr_bucket_alloc_create(p);
c = ap_run_create_connection(p, ap_server_conf, sock,
conn_id, sbh, cs->bucket_alloc);
+ if (!c) {
+ apr_bucket_alloc_destroy(cs->bucket_alloc);
+ apr_pool_clear(p);
+ ap_push_pool(worker_queue_info, p);
+ return 1;
+ }
apr_atomic_inc32(&connection_count);
apr_pool_cleanup_register(c->pool, NULL, decrement_connection_count, apr_pool_cleanup_null);
c->current_thread = thd;
scon->c = ap_run_create_connection(scon->pool, ap_server_conf, scon->sock,
conn_id, sbh, scon->ba);
+ /* XXX: handle failure */
scon->c->cs = apr_pcalloc(scon->pool, sizeof(conn_state_t));
cs = scon->c->cs;