<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unit.git, branch 1.32.1</title>
<subtitle>Universal Web Application Server</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/'/>
<entry>
<title>Added version 1.32.1 CHANGES</title>
<updated>2024-03-21T13:47:41+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2024-03-15T15:17:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=48d79170596d9923f2612d25e5a62ca0999b4313'/>
<id>48d79170596d9923f2612d25e5a62ca0999b4313</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Generated Dockerfiles for Unit 1.32.1</title>
<updated>2024-03-15T15:15:26+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2024-03-15T15:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=3f228d6b6f3e9b856ea17f7183b701201629d28a'/>
<id>3f228d6b6f3e9b856ea17f7183b701201629d28a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Edited changes.xml for the 1.32.1 release</title>
<updated>2024-03-15T15:13:59+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2024-03-15T15:13:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=8ca4962d9a63c48bc00ad37c441ce4b478212b66'/>
<id>8ca4962d9a63c48bc00ad37c441ce4b478212b66</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Wasm-wc: Fix application restarts</title>
<updated>2024-03-15T15:12:59+00:00</updated>
<author>
<name>Andrew Clayton</name>
<email>a.clayton@nginx.com</email>
</author>
<published>2024-03-07T16:16:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=777b7c87827f629a0df00c75d5bd1685c7ce1c35'/>
<id>777b7c87827f629a0df00c75d5bd1685c7ce1c35</id>
<content type='text'>
Liam reported a problem when trying to restart wasm-wasi-component based
applications using the /control/applications/APPLICATION_NAME/restart
endpoint.

The application would become unresponsive.

What was happening was the old application process(es) weren't
exit(3)ing and so while we were starting new application processes, the
old ones were still hanging around in a non-functioning state.

When we are terminating an application it must call exit(3).

So that's what we do. We use the return value of nxt_unit_run() as the
exit status.

Due to exit(3)ing we also need to now explicitly handle the return on
error case.

Reported-by: Liam Crilly &lt;liam@nginx.com&gt;
Fixes: 20ada4b5c ("Wasm-wc: Core of initial Wasm component model language module support")
Closes: https://github.com/nginx/unit/issues/1179
Tested-by: Liam Crilly &lt;liam@nginx.com&gt;
Tested-by: Danielle De Leo &lt;d.deleo@f5.com&gt;
Co-developed-by: Dan Callahan &lt;d.callahan@f5.com&gt;
Signed-off-by: Dan Callahan &lt;d.callahan@f5.com&gt;
Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Liam reported a problem when trying to restart wasm-wasi-component based
applications using the /control/applications/APPLICATION_NAME/restart
endpoint.

The application would become unresponsive.

What was happening was the old application process(es) weren't
exit(3)ing and so while we were starting new application processes, the
old ones were still hanging around in a non-functioning state.

When we are terminating an application it must call exit(3).

So that's what we do. We use the return value of nxt_unit_run() as the
exit status.

Due to exit(3)ing we also need to now explicitly handle the return on
error case.

Reported-by: Liam Crilly &lt;liam@nginx.com&gt;
Fixes: 20ada4b5c ("Wasm-wc: Core of initial Wasm component model language module support")
Closes: https://github.com/nginx/unit/issues/1179
Tested-by: Liam Crilly &lt;liam@nginx.com&gt;
Tested-by: Danielle De Leo &lt;d.deleo@f5.com&gt;
Co-developed-by: Dan Callahan &lt;d.callahan@f5.com&gt;
Signed-off-by: Dan Callahan &lt;d.callahan@f5.com&gt;
Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: NJS cacheable variables with access log</title>
<updated>2024-03-15T15:12:38+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2024-03-11T13:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=d7ff6bb4a10e3999f788a2492944c70822441366'/>
<id>d7ff6bb4a10e3999f788a2492944c70822441366</id>
<content type='text'>
Reproduces issue https://github.com/nginx/unit/issues/1169.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reproduces issue https://github.com/nginx/unit/issues/1169.
</pre>
</div>
</content>
</entry>
<entry>
<title>Var: Fix cacheable issue for njs variable access</title>
<updated>2024-03-15T15:11:30+00:00</updated>
<author>
<name>Zhidao HONG</name>
<email>z.hong@f5.com</email>
</author>
<published>2024-03-06T08:09:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=6359c74da1f53dc533ee26acc28972ed9816c9a6'/>
<id>6359c74da1f53dc533ee26acc28972ed9816c9a6</id>
<content type='text'>
The variables accessed with JS template literal should not be cacheable.
Since it is parsed by njs engine, Unit can't create indexes on these
variables for caching purpose. For example:

   {
       "format": "`{bodyLength:\"${vars.body_bytes_sent}\",status:\"${vars.status}\"}\n`"
   }

The variables like the above are not cacheable.

Closes: https://github.com/nginx/unit/issues/1169
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The variables accessed with JS template literal should not be cacheable.
Since it is parsed by njs engine, Unit can't create indexes on these
variables for caching purpose. For example:

   {
       "format": "`{bodyLength:\"${vars.body_bytes_sent}\",status:\"${vars.status}\"}\n`"
   }

The variables like the above are not cacheable.

Closes: https://github.com/nginx/unit/issues/1169
</pre>
</div>
</content>
</entry>
<entry>
<title>Version bump</title>
<updated>2024-03-15T15:10:24+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2024-03-15T15:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=97ff09903ba3feb3248932bcfae6ae983ad0484c'/>
<id>97ff09903ba3feb3248932bcfae6ae983ad0484c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added version 1.32.0 CHANGES</title>
<updated>2024-02-27T12:24:44+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2024-02-15T19:20:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=088117008c9e8f397a58cc8d8070ce047beff12f'/>
<id>088117008c9e8f397a58cc8d8070ce047beff12f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Generated Dockerfiles for Unit 1.32.0</title>
<updated>2024-02-27T12:24:44+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2024-02-15T19:56:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=ace553dca47da60a14e10c29de0c59ec73cc3ad7'/>
<id>ace553dca47da60a14e10c29de0c59ec73cc3ad7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Edited changes.xml for the 1.32.0 release</title>
<updated>2024-02-27T12:24:44+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2024-02-15T18:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=4d25c612247643329beb9e924d1feded3cf578ab'/>
<id>4d25c612247643329beb9e924d1feded3cf578ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
