summaryrefslogtreecommitdiff
path: root/www/gatling/files/patch-gatling.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/gatling/files/patch-gatling.c')
-rw-r--r--www/gatling/files/patch-gatling.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/www/gatling/files/patch-gatling.c b/www/gatling/files/patch-gatling.c
deleted file mode 100644
index 9d9c2f94306c..000000000000
--- a/www/gatling/files/patch-gatling.c
+++ /dev/null
@@ -1,31 +0,0 @@
-! Fix a filedescriptor leak. This change requires libowfat-0.18
-! Correct return code for FTP CWD
-! Obtained from gatling cvs
---- gatling.c.orig Fri Feb 27 16:09:53 2004
-+++ gatling.c Fri Feb 27 16:13:28 2004
-@@ -876,7 +876,7 @@
- c+=fmt_str(c,"\r\n\r\n");
- iob_addbuf_free(&h->iob,h->hdrbuf,c - h->hdrbuf);
- if (!head)
-- iob_addfile(&h->iob,fd,range_first,range_last-range_first);
-+ iob_addfile_close(&h->iob,fd,range_first,range_last-range_first);
- if (logging) {
- if (h->hdrbuf[9]=='3') {
- buffer_puts(buffer_1,head?"HEAD/304 ":"GET/304 ");
-@@ -1034,7 +1034,7 @@
- range_last=ss.st_size;
- range_first=h->ftp_rest; h->ftp_rest=0;
- if (range_first>range_last) range_first=range_last;
-- iob_addfile(&b->iob,b->filefd,range_first,range_last-range_first);
-+ iob_addfile_close(&b->iob,b->filefd,range_first,range_last-range_first);
- if (logging) {
- buffer_putulonglong(buffer_1,range_last-range_first);
- buffer_putspace(buffer_1);
-@@ -1428,7 +1428,7 @@
- }
- y[fmt_str(y,x)]=0;
- h->ftppath=y;
-- h->hdrbuf="200 ok.\r\n";
-+ h->hdrbuf="250 ok.\r\n";
- return 0;
- }