<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/networking/wget.c, branch long_paths</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=long_paths</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=long_paths'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2024-09-28T07:13:32+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2024-09-28T07:13:32+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-09-28T07:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=431e2704c17d5c0e51a0cbebfb1105bd4962b3f7'/>
<id>urn:sha1:431e2704c17d5c0e51a0cbebfb1105bd4962b3f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wget: fix compile warnings when WGET_FTP is not selected</title>
<updated>2024-09-26T14:27:10+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2024-09-26T14:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a667a7f02066ce1a6de568d75f1062f525b3c2f0'/>
<id>urn:sha1:a667a7f02066ce1a6de568d75f1062f525b3c2f0</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>wget: let user override Content-Length</title>
<updated>2024-07-26T14:13:43+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-07-26T14:13:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2628ffaceabcfcd614f9b09db98da82e98fb048b'/>
<id>urn:sha1:2628ffaceabcfcd614f9b09db98da82e98fb048b</id>
<content type='text'>
The wget applet allows several common headers to be overridden by
the user.  Add 'Content-Length' to the list.

Adds 32-64 bytes.

(GitHub issue #432)
</content>
</entry>
<entry>
<title>win32: consolidate executable handling in popen.c</title>
<updated>2024-07-20T09:31:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-07-20T09:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d18c624d993b7846fb13053bb7dc7bf1a12770ce'/>
<id>urn:sha1:d18c624d993b7846fb13053bb7dc7bf1a12770ce</id>
<content type='text'>
Commit f444dc586 (win32: only search PATH for compressor) made
mingw_fork_compressor() perform a PATH lookup for the xz and lzma
compression programs.  This avoided relying on CreateProcess() to
perform the search.

Other callers of the pipe creation code should also avoid reliance
on CreateProcess's executable search:

- Move the applet test and PATH lookup into mingw_popen_internal().
  The first argument to CreateProcess() will always be a path to
  an executable.

- mingw_fork_compressor() uses the new "w+" mode to indicate that
  xz and lzma compressors should be found on PATH.

- mingw_popen() no longer needs to check for an applet itself, as
  that's now handled in mingw_popen_internal().

- spawn_ssl_client() in 'wget' can rely on the popen code to look
  up the 'ssl_client' applet.

- Remove unnecessary argument checks in mingw_popen_internal().

Adds 0-24 bytes.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2024-07-10T10:54:23+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-07-10T10:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2dc17b7c80c803119dd2214bce4406b252ae2e9f'/>
<id>urn:sha1:2dc17b7c80c803119dd2214bce4406b252ae2e9f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wget: ignore header casing</title>
<updated>2024-07-08T13:02:58+00:00</updated>
<author>
<name>Sertonix</name>
<email>sertonix@posteo.net</email>
</author>
<published>2024-06-08T18:05:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9f262698cc7e6a8b5621f018645f3c1fa06b226f'/>
<id>urn:sha1:9f262698cc7e6a8b5621f018645f3c1fa06b226f</id>
<content type='text'>
HTTP headers are case insensitive and therefore the check if a default
header has been overwritten needs to be case insensitive.

Without this patch `--header 'user-agent: test'` results in
`User-Agent: Wget` and `user-agent: test` being send.

function                                             old     new   delta
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/0 up/down: 0/0)                 Total: 0 bytes
   text	  data	   bss	   dec	   hex	filename
1040876	 16443	  1840	1059159	102957	busybox_old
1040876	 16443	  1840	1059159	102957	busybox_unstripped

Signed-off-by: Sertonix &lt;sertonix@posteo.net&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>win32: only search PATH for compressor</title>
<updated>2023-11-14T11:15:02+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-11-14T11:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f444dc586b16c104a82d201d3a7caca68affe51b'/>
<id>urn:sha1:f444dc586b16c104a82d201d3a7caca68affe51b</id>
<content type='text'>
mingw_fork_compressor() uses CreateProcess() to run the compressor
program.  This will often be an instance of BusyBox, but since the
xv and lzma applets in BusyBox don't support compression it can be
an external program.

It was intended that the external program should be found using PATH.
However, CreateProcess() looks in various other places before trying
PATH.  In particular, it first looks in the directory of the current
executable, then in the current directory of the process.  This can
result in the wrong xz.exe or lzma.exe being found.

Perform an explicit PATH search and force CreateProcess() to use the
result.

This change only affects the search for a compressor.  The same
problem also affects other uses of our popen(3) emulation.  These
may be addressed in future.

Costs 64-80 bytes.

(GitHub issue #376)
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2023-07-13T07:06:26+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-07-13T07:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bd978d0256fd3a67de1a7dd54f1a37f9435be363'/>
<id>urn:sha1:bd978d0256fd3a67de1a7dd54f1a37f9435be363</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update applet size estimates</title>
<updated>2023-07-10T15:25:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-10T15:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5353df91cba7b397b9407701681708d0a1518df6'/>
<id>urn:sha1:5353df91cba7b397b9407701681708d0a1518df6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge busybox into merge</title>
<updated>2021-12-27T08:21:55+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-12-27T08:21:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b15f68214da209b5b293039c09c00f490c0cc193'/>
<id>urn:sha1:b15f68214da209b5b293039c09c00f490c0cc193</id>
<content type='text'>
Fix merge conflict in coreutils/timeout.c.
</content>
</entry>
</feed>
