aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src
AgeCommit message (Collapse)Author
2015-07-01inets: Prepare for releaseIngela Anderton Andin
2015-07-01inets: Fix broken fd featureIngela Anderton Andin
If a wrapper script is used to open a privileged port before starting erlang and supplied as a init argument to erlang it should override the port configured by the httpd config file. Some of the code handling this was lost, in the commit da3797589463002f28fc42ef27872650fe1de938, due to missing tests of this functionality. This commit adds the code for this in a better place. In 18 also add a test.
2014-02-05Add missing brackets to report formatting on ftp_progress process exitArtur Wilniewczyc
When progress reporting process exits, ftp client crashes because of missing brackets in io_lib:format argument.
2014-02-05inets: Remove log message as it causes more harm than use at the momentIngela Anderton Andin
Conflicts: lib/inets/src/http_lib/http_request.erl
2014-02-05inets: Mend broken max_clients checkIngela Anderton Andin
Conflicts: lib/inets/src/http_server/httpd_manager.erl Conflicts: lib/inets/test/inets_sup_SUITE.erl
2014-02-05inets: Remove use of default gen_server timeoutIngela Anderton Andin
If you need a timeout between client and server use a server side timeout instead of the default gen_server:call/2 timeout that is quite useless. Also remove legacy code that has no further use.
2014-02-05Fix http_request:http_headers/1 to send content-length when length is zeroCA Meijer
In R16B01, the http_request:http_headers/1 function removes the content-length field from the HTTP headers if the content length is zero. This results in some (perhaps many) HTTP servers rejecting POSTs and PUTs without data with a 411 status word. From RFC2616, section 14.13: "Any Content-Length greater than or EQUAL to zero is a valid value".
2014-02-05Fix httpd config option 'keep_alive_timeout'Johannes Weißl
The documentation states that the value is in seconds, which was true when using the Apache like configuration file, but not true when using the proplist style configuration.
2014-02-05Fix httpd config option 'script_timeout'Johannes Weißl
This fixes the usage of the httpd configuration option 'script_timeout', which got ignored before. The documentation states that the value is in seconds, which was true when using the Apache like configuration file, but not true when using the proplist style configuration.
2014-02-05ftp: fix sockname dialyzer warning including ftp:sockname/1 bugHans Nilsson
2014-02-05ftp: small fixesHans Nilsson
2014-02-05ftp: Add timeouts to ssl:connectHans Nilsson
2014-02-05ftps: workingHans Nilsson
2014-02-05.Hans Nilsson
2014-02-05added some printoutsHans Nilsson
2014-02-05ftp: towards a working ftps, chapter 1Hans Nilsson
2014-02-05ftp: Implement ftps (upgrade to TLS)Ingela Anderton Andin
2014-02-05[inets/httpd] Improved request handler terminate error-log entryMicael Karlberg
If a request handler terminates abnormally (terminate reason not normal), the error-log entry was a bit obtuse ("Internal Server Error"). This has been improved so that the log entry now also include the actual terminate reason.
2014-02-05[inets/httpd] Improved access log entryMicael Karlberg
Sometimes the size of a response could be as a string.
2014-02-05[inets/httpd] Logging cleanupMicael Karlberg
Remove logging when fo keep-alive connection timeout. This is a normal event (feature) not an error.
2014-02-05[inets/httpd] Fixed mod_head handling of "new" responseMicael Karlberg
2014-02-05inets: httpc - Remove dead error handling codeIngela Anderton Andin
Some error handling is only relevant for functions that end up in gen_server:call and not in gen_server:cast.
2014-02-05inets: httpc make httpc_cancel_request/[1,2] asynchronousIngela Anderton Andin
Conflicts: lib/inets/src/http_client/httpc_handler.erl
2014-02-05Remove http_chunk:decode/4 as it is no longer usedMasatake Daimon
http_chunk:decode/4, the side-effecting chunk decoder, was only used by httpc_handler:handle_http_body/2 but now it's completely unused. Conflicts: lib/inets/src/http_client/httpc_handler.erl
2014-02-05Fix {stream, {self, once}} in httpcMasatake Daimon
Previously the only difference between {stream, self} and {stream, {self, once}} was an extra Pid in the stream_start message due to a bug in httpc_handler. It was immediately sending a bunch of messages till the end instead of waiting for httpc:stream_next/1 being called.
2014-02-05httpc: Allow content body in DELETE requestsJames Wheare
2014-02-05httpc: Enhanched error handlingIngela Anderton Andin
2014-02-05inets: httpc improve pipeliningIngela Anderton Andin
2014-02-05Fix httpd config option 'erl_script_nocache'Johannes Weißl
This fixes the usage of the httpd configuration option 'erl_script_nocache', which got ignored before. Attention: Before, the option 'script_nocache' also changed the behavior for mod_esi, now it only affects mod_cgi.
2014-02-05[inets, ssl]: make log_alert configurable as option in ssl, SSLLogLevel ↵Fredrik Gustafsson
added as option to inets conf file Conflicts: lib/inets/src/http_lib/http_transport.erl lib/inets/src/inets_app/inets.appup.src lib/ssl/src/ssl.appup.src
2014-02-05inets: stop block timer with the right argumentsFredrik Gustafsson
2014-02-05inets httpc: Revert incorrect commit regarding cookie handling.Ingela Anderton Andin
2014-02-05Added guard for invalid field and values in headersFredrik Gustafsson
2014-02-05Handle correctly the "No files found or file unavailable" error code.serge
2014-02-05Removed case clause for length = 0 for both HTTP1.0 and HTTP1.1Fredrik Gustafsson
2014-02-05inets httpd: Handle ipfamily option correctly when listning to port 0Ingela Anderton Andin
Conflicts: lib/inets/src/http_lib/http_transport.erl
2014-02-05inets: Improve ssl handlingIngela Anderton Andin
httpc: CTfy test suite httpd: Simplify ssl configuration OTP-10846
2014-02-05inets httpd: The option modules now defaults to its documented default value.Ingela Anderton Andin
OTP-10844
2014-02-05inets httpc: Corrected separation of pipelining and persisten connectionsIngela Anderton Andin
OTP-10845
2014-02-05inets: fix autoredirect for POST requests responding 303Hans Svensson
Changed httpc_response, for redirect '303 See Other' also POST requests should be redirected (using GET). See RFC2616 sect. 10.3.4 for clarification.
2014-02-05inets: Dialyzer fixesIngela Anderton Andin
2014-02-05inets httpc: TLS via proxyIngela Anderton Andin
Introduces new option htts_proxy so that it is possible to have different proxies for http and https. The new option defaults to the old proxy option. Implements HTTP-1.1 extension method CONNECT to establish SSL/TLS tunnel We choose not to implement "TLS upgrade" as defined by RFC 2817 as this method of upgrade is vulnerable to man in the middle attacks, can be easily broken by proxies and does not seem to be widely adopted.
2014-02-05inets: Corrected appupIngela Anderton Andin
2013-08-21[inets, ssl]: make log_alert configurable as option in ssl, SSLLogLevel ↵Fredrik Gustafsson
added as option to inets conf file
2013-06-28inets: version updatesFredrik Gustafsson
2013-06-27inets: removed obsolete codeFredrik Gustafsson
2012-11-23Update copyright yearsBjörn-Egil Dahlberg
2012-11-14Fine adjustments of slowdos algFredrik Gustafsson
2012-11-09Bumped version nrFredrik Gustafsson
2012-11-09Reduced checking of bytes per second to every secondFredrik Gustafsson