comparison src/core/ngx_regex.c @ 10:46833bd150cb NGINX_0_1_5

nginx 0.1.5 *) Bugfix: on Solaris and Linux there may be too many "recvmsg() returned not enough data" alerts. *) Bugfix: there were the "writev() failed (22: Invalid argument)" errors on Solaris in proxy mode without sendfile. On other platforms that do not support sendfile at all the process got caught in an endless loop. *) Bugfix: segmentation fault on Solaris in proxy mode and using sendfile. *) Bugfix: segmentation fault on Solaris. *) Bugfix: on-line upgrade did not work on Linux. *) Bugfix: the ngx_http_autoindex_module module did not escape the spaces, the quotes, and the percent signs in the directory listing. *) Change: the decrease of the copy operations. *) Feature: the userid_p3p directive.
author Igor Sysoev <http://sysoev.ru>
date Thu, 11 Nov 2004 00:00:00 +0300
parents f0b350454894
children 7ca9bdc82b3f
comparison
equal deleted inserted replaced
9:77eee314ddbd 10:46833bd150cb
51 re = pcre_compile((const char *) pattern->data, (int) options, 51 re = pcre_compile((const char *) pattern->data, (int) options,
52 &errstr, &erroff, NULL); 52 &errstr, &erroff, NULL);
53 53
54 if (re == NULL) { 54 if (re == NULL) {
55 if ((size_t) erroff == pattern->len) { 55 if ((size_t) erroff == pattern->len) {
56 ngx_snprintf((char *) err->data, err->len - 1, 56 ngx_snprintf(err->data, err->len - 1,
57 "pcre_compile() failed: %s in \"%s\"", 57 "pcre_compile() failed: %s in \"%s\"",
58 errstr, pattern->data); 58 errstr, pattern->data);
59 } else { 59 } else {
60 ngx_snprintf((char *) err->data, err->len - 1, 60 ngx_snprintf(err->data, err->len - 1,
61 "pcre_compile() failed: %s in \"%s\" at \"%s\"", 61 "pcre_compile() failed: %s in \"%s\" at \"%s\"",
62 errstr, pattern->data, pattern->data + erroff); 62 errstr, pattern->data, pattern->data + erroff);
63 } 63 }
64 } 64 }
65 65