Господа, тут такая оказия приключилась:<br><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">static void ngx_http_push_send_request(ngx_http_request_t *r, ngx_http_variable_value_t *url_variable) {</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> if (url_variable != NULL && url_variable->not_found != 1 && url_variable->len != 0) {</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ngx_str_t *url;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ngx_int_t len = url_variable->len;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> if ((url = ngx_palloc(ngx_http_push_pool, sizeof(*url) + len)) != NULL) {</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> url->len = len;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ngx_memcpy(url->data, url_variable->data, len);</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, "переход на %s", (char *) url->data);</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> } else {</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "push module: unable to allocate memory for $subscribe_url or $unsubscribe_url string");</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ngx_pfree(ngx_http_push_pool, url);</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">}</span><br><br>Падает это всё дело на <span style="font-family: courier new,monospace;">ngx_memcpy(url->data, url_variable->data, len); с worker process exited on signal 11 и я понять не могу, почему. Может, кто-нибудь подскажет?<br>
<br>Да, хочу заметить, я, скажем так, новичок в си, прошу ногами не пинать.<br><br></span>