summaryrefslogtreecommitdiff
path: root/lang/erlang14/files/patch-lib_inets_src_http__client_http.erl
blob: 2b2b435bb6485705acb0b6fffced85c5206cdeaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$FreeBSD$

--- lib/inets/src/http_client/http.erl.orig
+++ lib/inets/src/http_client/http.erl
@@ -293,6 +293,8 @@
     case {Sync, Stream} of
 	{true, self} ->
 	    {error, streaming_error};
+	{true, {self,once}} ->
+	    {error, streaming_error};
 	_ ->
 	    RecordHeaders = header_record(NewHeaders, #http_request_h{}, 
 					  Host, Version),