aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-02-05[eldap, inets]: fix testcases when ssl not is presentFredrik Gustafsson
Conflicts: lib/eldap/test/eldap_basic_SUITE.erl
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: added testcase for keep_alive_timeoutFredrik Gustafsson
2014-02-05Add test for httpd config option 'script_timeout'Johannes Weißl
The option got ignored before 720721e.
2014-02-05inets: httpc improve pipeliningIngela Anderton Andin
2014-02-05inets: Add stronger RSA test-keysIngela Anderton Andin
The ones provided will fail inets test cases as default ssl will negotiate stronger cipher suites now that will fail the with the weak keys.
2014-02-05Test nocache option of mod_cgi and mod_esiJohannes Weißl
Tests that the nocache options work and can be used independently from each other. This was broken before c8ef69c. Conflicts: lib/inets/test/httpd_basic_SUITE.erl
2014-02-05inets: added simple testcase for option erl_script_nocacheFredrik Gustafsson
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-05fix: typo, inets/doc/src/httpdtomaon
2014-02-05Fix some errors in the inets documentationJohannes Weißl
2014-02-05Update release notesErlang/OTP
Conflicts: lib/inets/doc/src/notes.xml
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-05[inets] Appup test suite now handles version REsMicael Karlberg
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 - httpc_SUITE: add redirect tests for response 303Hans Svensson
httpc contains code for redirecting http response 301, 302, 303, and 307, but no tests existed for response '303 See Other'. Added tests (get, head, and post) for 303 and renumbered tests for 307. The subtle thing is that for 303 also post requests *should* be redirected. Also added the necessary 303 page to the dummy_server.
2014-02-05inets: Remove dbg tracing from testcasesBjörn-Egil Dahlberg
2014-02-05inets httpc: Document that RFC 2817 is not supportedIngela Anderton Andin
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: Remove obsolete testcases that are now in the proxy suiteRaimo Niskanen
2014-02-05inets: Add tests using external proxy running on localhostRaimo Niskanen
2014-02-05inets: Corrected appupIngela Anderton Andin
2014-02-05ssl: Fix broken appup from ssl-5.2.1.1 that was released together withIngela Anderton Andin
inets-5.9.2.2
2014-02-04Add more Common Test start arguments to the ts run interfacePeter Andersson
2014-02-04gzio.c: Remove unnecessary usage of the OF() macroBjörn Gustavsson
Daniel Goertzen reported that commit 8a147a7365 broke building of Erlang/OTP on Gentoo Linux because the macro OF() was missing. Apparently, on Gentoo the OF() macro in zconf.h has been renamed to _Z_OF() (to avoid polluting the global namespace). Don't use the OF() macro in gzio.c since it no longer serves any useful purpose (it provided compatibility with pre-ANSI/ISO C compilers, but the rest of Erlang/OTP requires an ANSI/ISO C compiler anyway).
2014-02-04Merge branch 'nox/syntax_tools/maps-support/OTP-11663'Björn-Egil Dahlberg
* nox/syntax_tools/maps-support/OTP-11663: Support maps in erl_prettypr Complete support of maps in erl_syntax
2014-02-04sys_core_fold: Prevent case expressions from being evaluated twiceBjörn Gustavsson
In e12b7d5331c58b41db06cadfa4af75b78b62a2b1, a bug was introduced that would cause case expressions to be evaluated more than once if there were aliases in the pattern. Example: X = Y = io:put_chars("some chars"), {X,Y} That would be rewritten to code similar to (but in Core Erlang): X = io:put_chars("some chars"), X = io:put_chars("some chars"), {X,Y} Make sure that we only evalute the expression once by doing a transformation similar to (but in Core Erlang): NewVar = io:put_chars("some chars"), X = NewVar, Y = NewVar, {X,Y} Reported-by: José Valim Reported-by: Anthony Ramine
2014-02-04sys_core_fold_SUITE: For cleanliness, move id/1 to the endBjörn Gustavsson
2014-02-04Support maps in the debuggerAnthony Ramine
A test is commented-out in map_SUITE:t_update_exact/1, waiting for a fixed maps:update/3 function with correct integer/float semantics.
2014-02-03stdlib: Add tests for Maps in erl_prettyprBjörn-Egil Dahlberg
2014-02-03Merge branch 'sverk/erts/binary_to_term-maps-bug'Sverker Eriksson
* sverk/erts/binary_to_term-maps-bug: erts: Fix bug in binary_to_term for maps