1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 00:58:48 -05:00
curl/tests/server
Fabian Keil 461e3ef680
tests/server: Bump MAX_TAG_LEN to 200
This is useful for tests containing HTML inside of <data> sections.
For <img> tags it's not uncommon to be longer than the previous
limit of 79 bytes.

An example of a previously problem-causing tag is:
<img src="http://config.privoxy.org/send-banner?type=auto" border="0" title="Killed-http://www.privoxy.org/images/privoxy.png-by-size" width="88" height="31">
which is needed for a Privoxy test for the banners-by-size filter.

Previously it caused server failures like:
12:29:05.786961 ====> Client connect
12:29:05.787116 accept_connection 3 returned 4
12:29:05.787194 accept_connection 3 returned 0
12:29:05.787285 Read 119 bytes
12:29:05.787345 Process 119 bytes request
12:29:05.787407 Got request: GET /banners-by-size/9 HTTP/1.1
12:29:05.787464 Requested test number 9 part 0
12:29:05.787686 getpart() failed with error: -2
12:29:05.787744 - request found to be complete (9)
12:29:05.787912 getpart() failed with error: -2
12:29:05.788048 Wrote request (119 bytes) input to log/server.input
12:29:05.788157 Send response test9 section <data>
12:29:05.788443 getpart() failed with error: -2
12:29:05.788498 instructed to close connection after server-reply
12:29:05.788550 ====> Client disconnect 0
12:29:05.871448 exit_signal_handler: 15
12:29:05.871714 signalled to die
12:29:05.872040 ========> IPv4 sws (port 21108 pid: 51758) exits with signal (15)
2021-02-09 08:16:40 +01:00
..
.gitignore tests/git: ignore mqttd and port files 2020-04-24 13:48:58 +02:00
base64.pl curl.se: new home 2020-11-04 23:59:47 +01:00
CMakeLists.txt curl.se: new home 2020-11-04 23:59:47 +01:00
disabled.c tests/server/disabled: add "wakeup" 2020-12-11 17:42:17 +01:00
fake_ntlm.c curl.se: new home 2020-11-04 23:59:47 +01:00
getpart.c tests/server: Bump MAX_TAG_LEN to 200 2021-02-09 08:16:40 +01:00
getpart.h curl.se: new home 2020-11-04 23:59:47 +01:00
Makefile.am copyright: fix year ranges 2020-11-05 08:22:10 +01:00
Makefile.inc curl.se: new home 2020-11-04 23:59:47 +01:00
mqttd.c tests/mqttd: extract the client id from the correct offset 2020-12-17 10:15:31 +01:00
resolve.c curl.se: new home 2020-11-04 23:59:47 +01:00
rtspd.c curl.se: new home 2020-11-04 23:59:47 +01:00
server_setup.h curl.se: new home 2020-11-04 23:59:47 +01:00
server_sockaddr.h curl.se: new home 2020-11-04 23:59:47 +01:00
sockfilt.c curl.se: new home 2020-11-04 23:59:47 +01:00
socksd.c misc: assorted typo fixes 2020-12-26 23:54:25 +01:00
sws.c curl.se: new home 2020-11-04 23:59:47 +01:00
testpart.c curl.se: new home 2020-11-04 23:59:47 +01:00
tftp.h curl.se: new home 2020-11-04 23:59:47 +01:00
tftpd.c tests/server/tftpd.c: close upload file in case of abort 2020-11-28 19:19:18 +01:00
util.c curl.se: new home 2020-11-04 23:59:47 +01:00
util.h curl.se: new home 2020-11-04 23:59:47 +01:00