<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src/http/modules/perl, branch release-1.11.3</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Perl: prototyping behavior explicitly specified.</title>
<updated>2015-08-18T13:26:18+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2015-08-18T13:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=2e004237c52b6281514571714bf0ba0b23452846'/>
<id>2e004237c52b6281514571714bf0ba0b23452846</id>
<content type='text'>
When prototyping behavior is not explicitly specified, xsubpp emits
a message to stderr asking to do so (see ticket #608).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When prototyping behavior is not explicitly specified, xsubpp emits
a message to stderr asking to do so (see ticket #608).
</pre>
</div>
</content>
</entry>
<entry>
<title>Perl: fixed warning about "sep" may be used uninitialized.</title>
<updated>2015-08-18T13:26:05+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2015-08-18T13:26:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=a0aea61b50e90adf94b713cef4b789f932107107'/>
<id>a0aea61b50e90adf94b713cef4b789f932107107</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Perl: NULL-terminate argument list.</title>
<updated>2014-06-19T11:16:36+00:00</updated>
<author>
<name>Piotr Sikora</name>
<email>piotr@cloudflare.com</email>
</author>
<published>2014-06-19T11:16:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=b3066b16e1d6f7e9c27cc092b67591262d3a8b13'/>
<id>b3066b16e1d6f7e9c27cc092b67591262d3a8b13</id>
<content type='text'>
perl_parse() function expects argv/argc-style argument list,
which according to the C standard must be NULL-terminated,
that is: argv[argc] == NULL.

This change fixes a crash (SIGSEGV) that could happen because
of the buffer overrun during perl module initialization.

Signed-off-by: Piotr Sikora &lt;piotr@cloudflare.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
perl_parse() function expects argv/argc-style argument list,
which according to the C standard must be NULL-terminated,
that is: argv[argc] == NULL.

This change fixes a crash (SIGSEGV) that could happen because
of the buffer overrun during perl module initialization.

Signed-off-by: Piotr Sikora &lt;piotr@cloudflare.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Handling of ngx_int_t != intptr_t case.</title>
<updated>2013-09-04T17:16:59+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2013-09-04T17:16:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=2b0dba578fed500c1955979a8e281f4fad53bad9'/>
<id>2b0dba578fed500c1955979a8e281f4fad53bad9</id>
<content type='text'>
Casts between pointers and integers produce warnings on size mismatch.  To
silence them, cast to (u)intptr_t should be used.  Prevoiusly, casts to
ngx_(u)int_t were used in some cases, and several ngx_int_t expressions had
no casts.

As of now it's mostly style as ngx_int_t is defined as intptr_t.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Casts between pointers and integers produce warnings on size mismatch.  To
silence them, cast to (u)intptr_t should be used.  Prevoiusly, casts to
ngx_(u)int_t were used in some cases, and several ngx_int_t expressions had
no casts.

As of now it's mostly style as ngx_int_t is defined as intptr_t.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backed out f1a91825730a and 7094bd12c1ff.</title>
<updated>2013-08-20T17:11:19+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2013-08-20T17:11:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=e3cab7675801d224d1d5cdbe7f7b76bbaed97c91'/>
<id>e3cab7675801d224d1d5cdbe7f7b76bbaed97c91</id>
<content type='text'>
While ngx_get_full_name() might have a bit more descriptive arguments,
the ngx_conf_full_name() is generally easier to use when parsing
configuration and limits exposure of cycle-&gt;prefix / cycle-&gt;conf_prefix
details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While ngx_get_full_name() might have a bit more descriptive arguments,
the ngx_conf_full_name() is generally easier to use when parsing
configuration and limits exposure of cycle-&gt;prefix / cycle-&gt;conf_prefix
details.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replaced ngx_conf_full_name() with ngx_get_full_name().</title>
<updated>2013-08-06T15:58:40+00:00</updated>
<author>
<name>Valentin Bartenev</name>
<email>vbart@nginx.com</email>
</author>
<published>2013-08-06T15:58:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=d29d21bade3a0fbe0e2d5d7e0e5546873c2ee588'/>
<id>d29d21bade3a0fbe0e2d5d7e0e5546873c2ee588</id>
<content type='text'>
The ngx_get_full_name() function takes more readable arguments list.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ngx_get_full_name() function takes more readable arguments list.
</pre>
</div>
</content>
</entry>
<entry>
<title>Perl: fixed syntax usage for C preprocessor directives.</title>
<updated>2013-07-29T13:30:01+00:00</updated>
<author>
<name>Sergey Kandaurov</name>
<email>pluknet@nginx.com</email>
</author>
<published>2013-07-29T13:30:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=ab1c05272a4078454d6a529bffe6f5918a0c0468'/>
<id>ab1c05272a4078454d6a529bffe6f5918a0c0468</id>
<content type='text'>
As per perlxs, C preprocessor directives should be at the first
non-whitespace of a line to avoid interpreting them as comments.

#if and #endif are moved so that there are no blank lines before them
to retain them as part of the function body.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As per perlxs, C preprocessor directives should be at the first
non-whitespace of a line to avoid interpreting them as comments.

#if and #endif are moved so that there are no blank lines before them
to retain them as part of the function body.
</pre>
</div>
</content>
</entry>
<entry>
<title>Perl: fixed r-&gt;header_in("Cookie") (ticket #351).</title>
<updated>2013-06-10T10:35:00+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2013-06-10T10:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=ddece08218b4fceaf86afb6a721ed8cd4a6411fe'/>
<id>ddece08218b4fceaf86afb6a721ed8cd4a6411fe</id>
<content type='text'>
It was broken by X-Forwarded-For related changes in f7fe817c92a2 (1.3.14)
as hh-&gt;offset is no longer 0 for Cookie.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was broken by X-Forwarded-For related changes in f7fe817c92a2 (1.3.14)
as hh-&gt;offset is no longer 0 for Cookie.
</pre>
</div>
</content>
</entry>
<entry>
<title>Perl: extra "return" removed.</title>
<updated>2013-05-11T14:48:56+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2013-05-11T14:48:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=8e35221f9ab43a9ed7ef8a14c439f4385d51e2ff'/>
<id>8e35221f9ab43a9ed7ef8a14c439f4385d51e2ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Perl: request body handling fixed.</title>
<updated>2013-04-23T10:04:12+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2013-04-23T10:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=e584341792eab4b3b35277c14c0acd93eee75688'/>
<id>e584341792eab4b3b35277c14c0acd93eee75688</id>
<content type='text'>
As of 1.3.9, chunked request body may be available with
r-&gt;headers_in.content_length_n &lt;= 0.  Additionally, request body
may be in multiple buffers even if r-&gt;request_body_in_single_buf
was requested.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As of 1.3.9, chunked request body may be available with
r-&gt;headers_in.content_length_n &lt;= 0.  Additionally, request body
may be in multiple buffers even if r-&gt;request_body_in_single_buf
was requested.
</pre>
</div>
</content>
</entry>
</feed>
