diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/erlang/files/patch-lib_inets_src_http__client_httpc__request.erl | 14 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_inets_src_http__client_httpc__request.erl | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-lib_inets_src_http__client_httpc__request.erl b/lang/erlang/files/patch-lib_inets_src_http__client_httpc__request.erl new file mode 100644 index 000000000000..41663e663413 --- /dev/null +++ b/lang/erlang/files/patch-lib_inets_src_http__client_httpc__request.erl @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- lib/inets/src/http_client/httpc_request.erl.orig ++++ lib/inets/src/http_client/httpc_request.erl +@@ -78,7 +78,7 @@ + %%%======================================================================== + post_data(Method, Headers, {ContentType, Body}) + when Method == post; Method == put -> +- ContentLength = length(Body), ++ ContentLength = integer_to_list(length(Body)), + NewBody = case Headers#http_request_h.expect of + "100-continue" -> + ""; diff --git a/lang/erlang14/files/patch-lib_inets_src_http__client_httpc__request.erl b/lang/erlang14/files/patch-lib_inets_src_http__client_httpc__request.erl new file mode 100644 index 000000000000..41663e663413 --- /dev/null +++ b/lang/erlang14/files/patch-lib_inets_src_http__client_httpc__request.erl @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- lib/inets/src/http_client/httpc_request.erl.orig ++++ lib/inets/src/http_client/httpc_request.erl +@@ -78,7 +78,7 @@ + %%%======================================================================== + post_data(Method, Headers, {ContentType, Body}) + when Method == post; Method == put -> +- ContentLength = length(Body), ++ ContentLength = integer_to_list(length(Body)), + NewBody = case Headers#http_request_h.expect of + "100-continue" -> + ""; |