push @err, "content: has multiple EOL at EOF";
}
+ if($content =~ /\n\n\n\n/ ||
+ $content =~ /\r\n\r\n\r\n\r\n/) {
+ push @err, "content: has 3 or more consecutive empty lines";
+ }
+
if($content =~ /([\x00-\x08\x0b\x0c\x0e-\x1f\x7f])/) {
push @err, "content: has binary contents";
}
}
-
/* Clean up the SockInfo structure */
static void remsock(struct SockInfo *f, struct GlobalInfo *g)
{
}
-
/* Assign information to a SockInfo structure */
static void setsock(struct SockInfo *f, curl_socket_t s, CURL *e, int act,
struct GlobalInfo *g)
}
-
/* Initialize a new SockInfo structure */
static void addsock(curl_socket_t s, CURL *easy, int action,
struct GlobalInfo *g)
}
-
/* CURLOPT_WRITEFUNCTION */
static size_t write_cb(void *ptr, size_t size, size_t nmemb, void *data)
{
}
-
/* Check for completed transfers, and remove their easy handles */
static void check_multi_info(struct GlobalInfo *g)
{
}
-
/* Called by libevent when we get action on a multi socket */
static void event_cb(EV_P_ struct ev_io *w, int revents)
{
}
-
/* Assign information to a SockInfo structure */
static void setsock(struct SockInfo *f, curl_socket_t s, CURL *e, int act,
struct GlobalInfo *g)
}
-
/* Initialize a new SockInfo structure */
static void addsock(curl_socket_t s, CURL *easy, int action,
struct GlobalInfo *g)
}
-
/* Called by libevent when we get action on a multi socket */
static void event_cb(int fd, short kind, void *userp)
{
}
-
/* Called by libevent when our timeout expires */
static void timer_cb(int fd, short kind, void *userp)
{
}
-
/* Clean up the SockInfo structure */
static void remsock(struct SockInfo *f)
{
}
-
/* Assign information to a SockInfo structure */
static void setsock(struct SockInfo *f, curl_socket_t s, CURL *e, int act,
struct GlobalInfo *g)
}
-
/* Initialize a new SockInfo structure */
static void addsock(curl_socket_t s, CURL *easy, int action,
struct GlobalInfo *g)
}
-
/* CURLOPT_WRITEFUNCTION */
static size_t write_cb(void *ptr, size_t size, size_t nmemb, void *data)
{
}
-
void Curl_bufcp_init(struct bufc_pool *pool,
size_t chunk_size, size_t spare_max)
{
}
-
/**
* Size of "length" insertion in bits.
* See FIPS PUB 180-4 section 5.1.2.
}
-
/***********************************************************************
*
* ftp_perform()
"\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x41\x42\x43\x44\x45\x46";
-
#ifndef __VMS
#define filesize(name, stat_data) (stat_data.st_size)
#define fopen_read fopen
}
-
struct cr_ws_ctx {
struct Curl_creader super;
BIT(read_eos); /* we read an EOS from the next reader */
_ TFTP
-
Compiling on OS/400:
These instructions targets people who knows about OS/400, compiling, IFS and
/curl/include/curl).
-
ILE/RPG support:
Since most of the ILE OS/400 programmers use ILE/RPG exclusively, a
}
-
static int test_weird_arguments(void)
{
int errors = 0;
}
-
###################################################################
# Get ready to run a single test case
sub runner_test_preprocess {
}
-
-
#######################################################################
# Single shot http and gopher server responsiveness test. This should only
# be used to verify that a server present in %run hash is still functional
!ENDIF
-
# CURL_XX macros are for the curl.exe command
!IF "$(DEBUG)"=="yes"