emailler/inc
Oliver Schmidt 6a296b2058 Improved URL selector handling.
parse_url stores the URL selector in the output_buffer - which is currently 520 bytes. A new entry point called parse_url_buffer was added which instead stores the URL selector in a buffer provided by the user.

url_download now calls the new parse_url_buffer instead of parse_url. The buffer for the URL selector is simply the download_buffer. So the download_buffer is used twice: First to hold the URL selector to be sent as request to the server and then to hold the response received from the server.

However, the URL selector still can't exceed the MSS (aka 1460 bytes).

Note: The User-Agent string was shortened by two bytes as that allows a "default" URL (incl. 'http://' but without port number) of exactly 1400 bytes to end up as 1460 bytes URL selector.
2018-11-13 13:19:47 +01:00
..
common.inc Adjusted include file extension to ca65 practice. 2018-02-23 16:36:05 +01:00
commonprint.inc Adjusted include file extension to ca65 practice. 2018-02-23 16:36:05 +01:00
error.inc Removed last KPR_* constants. 2018-02-23 16:41:33 +01:00
ip65.h Improved URL selector handling. 2018-11-13 13:19:47 +01:00
net.inc Adjusted include file extension to ca65 practice. 2018-02-23 16:36:05 +01:00
printf.inc Adjusted include file extension to ca65 practice. 2018-02-23 16:36:05 +01:00