Package: globus-xio / 4.15-3

globus-xio-http-tests-header-name-value.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
diff -ur globus_xio-4.14.orig/test/http_get_test.c globus_xio-4.14/test/http_get_test.c
--- globus_xio-4.14.orig/test/http_get_test.c	2014-08-22 22:49:53.903326410 +0200
+++ globus_xio-4.14/test/http_get_test.c	2014-09-17 09:58:57.921916141 +0200
@@ -141,7 +141,7 @@
     if (transfer_encoding != NULL)
     {
         headers[header_cnt].name = "Transfer-Encoding";
-        headers[header_cnt].name = transfer_encoding;
+        headers[header_cnt].value = transfer_encoding;
 
         header_cnt++;
 
@@ -322,7 +322,7 @@
         if (transfer_encoding != NULL)
         {
             response_headers[header_cnt].name = "Transfer-Encoding";
-            response_headers[header_cnt].name = transfer_encoding;
+            response_headers[header_cnt].value = transfer_encoding;
 
             header_cnt++;
         }
diff -ur globus_xio-4.14.orig/test/http_pingpong_test.c globus_xio-4.14/test/http_pingpong_test.c
--- globus_xio-4.14.orig/test/http_pingpong_test.c	2014-08-22 22:49:53.903326410 +0200
+++ globus_xio-4.14/test/http_pingpong_test.c	2014-09-17 10:01:35.473065237 +0200
@@ -329,7 +329,7 @@
         if (info->transfer_encoding != NULL)
         {
             response_headers[header_cnt].name = "Transfer-Encoding";
-            response_headers[header_cnt].name = info->transfer_encoding;
+            response_headers[header_cnt].value = info->transfer_encoding;
 
             header_cnt++;
         }
diff -ur globus_xio-4.14.orig/test/http_post_test.c globus_xio-4.14/test/http_post_test.c
--- globus_xio-4.14.orig/test/http_post_test.c	2014-08-22 22:49:53.903326410 +0200
+++ globus_xio-4.14/test/http_post_test.c	2014-09-17 10:01:07.863389591 +0200
@@ -369,7 +369,7 @@
         if (transfer_encoding != NULL)
         {
             response_headers[header_cnt].name = "Transfer-Encoding";
-            response_headers[header_cnt].name = transfer_encoding;
+            response_headers[header_cnt].value = transfer_encoding;
 
             header_cnt++;
         }
diff -ur globus_xio-4.14.orig/test/http_put_test.c globus_xio-4.14/test/http_put_test.c
--- globus_xio-4.14.orig/test/http_put_test.c	2014-08-22 22:49:53.903326410 +0200
+++ globus_xio-4.14/test/http_put_test.c	2014-09-17 10:01:58.811791057 +0200
@@ -142,7 +142,7 @@
     if (transfer_encoding != NULL)
     {
         headers[header_cnt].name = "Transfer-Encoding";
-        headers[header_cnt].name = transfer_encoding;
+        headers[header_cnt].value = transfer_encoding;
 
         header_cnt++;
 
diff -ur globus_xio-4.14.orig/test/http_throughput_test.c globus_xio-4.14/test/http_throughput_test.c
--- globus_xio-4.14.orig/test/http_throughput_test.c	2014-08-22 22:49:53.903326410 +0200
+++ globus_xio-4.14/test/http_throughput_test.c	2014-09-17 09:57:54.703658839 +0200
@@ -352,7 +352,7 @@
     if (info->transfer_encoding != NULL)
     {
 	response_headers[header_cnt].name = "Transfer-Encoding";
-	response_headers[header_cnt].name = info->transfer_encoding;
+	response_headers[header_cnt].value = info->transfer_encoding;
 
 	header_cnt++;
     }