<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src/os/win32, branch release-1.25.1</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Merged with the default branch.</title>
<updated>2023-03-29T07:14:25+00:00</updated>
<author>
<name>Sergey Kandaurov</name>
<email>pluknet@nginx.com</email>
</author>
<published>2023-03-29T07:14:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=e8fbc967470b39513248cd961ccccf7a032831ea'/>
<id>e8fbc967470b39513248cd961ccccf7a032831ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: non-ASCII names in ngx_fs_bsize(), ngx_fs_available().</title>
<updated>2023-02-23T17:50:03+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2023-02-23T17:50:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=4ace957c4e08bcbf9ef5e9f83b8e43458bead77f'/>
<id>4ace957c4e08bcbf9ef5e9f83b8e43458bead77f</id>
<content type='text'>
This fixes potentially incorrect cache size calculations and non-working
"min_free" when using cache in directories with non-ASCII names.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes potentially incorrect cache size calculations and non-working
"min_free" when using cache in directories with non-ASCII names.
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: removed attempt to use a drive letter in ngx_fs_bsize().</title>
<updated>2023-02-23T17:50:00+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2023-02-23T17:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=6c5fe80bc69b12cc2bd0e8ed7bc67b240795f66b'/>
<id>6c5fe80bc69b12cc2bd0e8ed7bc67b240795f66b</id>
<content type='text'>
Just a drive letter might not correctly represent file system being used,
notably when using symlinks (as created by "mklink /d").  As such, instead
of trying to call GetDiskFreeSpace() with just a drive letter, we now always
use GetDiskFreeSpace() with full path.

Further, it looks like the code to use just a drive letter never worked,
since it tried to test name[2] instead of name[1] to be ':'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just a drive letter might not correctly represent file system being used,
notably when using symlinks (as created by "mklink /d").  As such, instead
of trying to call GetDiskFreeSpace() with just a drive letter, we now always
use GetDiskFreeSpace() with full path.

Further, it looks like the code to use just a drive letter never worked,
since it tried to test name[2] instead of name[1] to be ':'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: non-ASCII names support in ngx_open_tempfile().</title>
<updated>2023-02-23T17:49:57+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2023-02-23T17:49:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=2062ddef3989525e22445b1965220ffaf8e161c9'/>
<id>2062ddef3989525e22445b1965220ffaf8e161c9</id>
<content type='text'>
This makes it possible to use temporary directories with non-ASCII characters,
either explicitly or via a prefix with non-ASCII characters in it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it possible to use temporary directories with non-ASCII characters,
either explicitly or via a prefix with non-ASCII characters in it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: non-ASCII names support in ngx_rename_file().</title>
<updated>2023-02-23T17:49:55+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2023-02-23T17:49:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=4d84bc492936cd047d5f589ef4bc4736093ec176'/>
<id>4d84bc492936cd047d5f589ef4bc4736093ec176</id>
<content type='text'>
This makes it possible to upload files with non-ASCII characters
when using the dav module (ticket #1433).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it possible to upload files with non-ASCII characters
when using the dav module (ticket #1433).
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: non-ASCII names support in ngx_delete_file().</title>
<updated>2023-02-23T17:49:54+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2023-02-23T17:49:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=1a9e5c83769128eefb5ee81147b0a350efc7cd68'/>
<id>1a9e5c83769128eefb5ee81147b0a350efc7cd68</id>
<content type='text'>
This makes it possible to delete files with non-ASCII characters
when using the dav module (ticket #1433).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it possible to delete files with non-ASCII characters
when using the dav module (ticket #1433).
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: reworked ngx_win32_rename_file() to use nginx wrappers.</title>
<updated>2023-02-23T17:49:52+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2023-02-23T17:49:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=dc4957485e151ed11026ab827c8e5348b3d3ae01'/>
<id>dc4957485e151ed11026ab827c8e5348b3d3ae01</id>
<content type='text'>
This ensures that ngx_win32_rename_file() will support non-ASCII names
when supported by the wrappers.

Notably, this is used by PUT requests in the dav module when overwriting
existing files with non-ASCII names (ticket #1433).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures that ngx_win32_rename_file() will support non-ASCII names
when supported by the wrappers.

Notably, this is used by PUT requests in the dav module when overwriting
existing files with non-ASCII names (ticket #1433).
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: reworked ngx_win32_rename_file() to check errors.</title>
<updated>2023-02-23T17:49:50+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2023-02-23T17:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=94d8cea620e0abc67f4d0fe9aaf6170f39529c8c'/>
<id>94d8cea620e0abc67f4d0fe9aaf6170f39529c8c</id>
<content type='text'>
Previously, ngx_win32_rename_file() retried on all errors returned by
MoveFile() to a temporary name.  It only make sense, however, to retry
when the destination file already exists, similarly to the condition
when ngx_win32_rename_file() is called.  Retrying on other errors is
meaningless and might result in an infinite loop.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, ngx_win32_rename_file() retried on all errors returned by
MoveFile() to a temporary name.  It only make sense, however, to retry
when the destination file already exists, similarly to the condition
when ngx_win32_rename_file() is called.  Retrying on other errors is
meaningless and might result in an infinite loop.
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: non-ASCII directory names support in ngx_delete_dir().</title>
<updated>2023-02-23T17:49:47+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2023-02-23T17:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=f8075f1ef5106c9f0d894f83cfa81dbb9f5ce2da'/>
<id>f8075f1ef5106c9f0d894f83cfa81dbb9f5ce2da</id>
<content type='text'>
This makes it possible to delete directories with non-ASCII characters
when using the dav module (ticket #1433).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it possible to delete directories with non-ASCII characters
when using the dav module (ticket #1433).
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: non-ASCII directory names support in ngx_create_dir().</title>
<updated>2023-02-23T17:49:45+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2023-02-23T17:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=89719dc5c1163a90b789cbac87845f7393655b70'/>
<id>89719dc5c1163a90b789cbac87845f7393655b70</id>
<content type='text'>
This makes it possible to create directories under prefix with non-ASCII
characters, as well as makes it possible to create directories with non-ASCII
characters when using the dav module (ticket #1433).

To ensure that the dav module operations are restricted similarly to
other file operations (in particular, short names are not allowed), the
ngx_win32_check_filename() function is used.  It improved to support
checking of just dirname, and now can be used to check paths when creating
files or directories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it possible to create directories under prefix with non-ASCII
characters, as well as makes it possible to create directories with non-ASCII
characters when using the dav module (ticket #1433).

To ensure that the dav module operations are restricted similarly to
other file operations (in particular, short names are not allowed), the
ngx_win32_check_filename() function is used.  It improved to support
checking of just dirname, and now can be used to check paths when creating
files or directories.
</pre>
</div>
</content>
</entry>
</feed>
