aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2011-12-08Save +M<S>t data as true or false, not the numberLukas Larsson
OTP-7775
2011-12-08Add explanatory text for tc failureLukas Larsson
2011-12-07Merge branch 'anders/diameter/suites_and_dialyzer/OTP-9781'Anders Svensson
* anders/diameter/suites_and_dialyzer/OTP-9781: Minor diameter_dict_scanner fix Skip sctp tests on {error, esocktnosupport} Ensure that TLS will be available in TLS suite
2011-12-07Merge branch 'anders/diameter/callback_redirection/OTP-9777'Anders Svensson
* anders/diameter/callback_redirection/OTP-9777: Update documentation Use diameter_callback in relay and tls suites Use diameter_callback in failover suite Update app suite Smarter diameter_callback
2011-12-07Merge branch 'anders/diameter/dict_error_identification/OTP-9639'Anders Svensson
* anders/diameter/dict_error_identification/OTP-9639: (27 commits) Update documentation Improve base_rfc3588.dia formatting Make typo fix backwards compatible Fix base_rfc3588.dia typo Check compiler dependencies in app suite Move type definitions into diameter.erl Fix interpretation of vendor id in @grouped Add range checks on dictionary integers Don't explicitly load inherited modules Tweak diameter_make interface Add format testcase to compiler suite Add diameter_dict_util:format/1 for reconstructing a dictionary file Make diameter_types usable with @codecs Minor codegen tweaks Remove unnecessary includes Add compiler suite Update app suite Update codec suite Vendor id fixes No longer inherit common dictionary in relay dictionary ...
2011-12-07Merge branch 'anders/diameter/release_R15B'Anders Svensson
* anders/diameter/release_R15B: Version -> 1.0
2011-12-07Merge remote branch 'origin/peppe/common_test/report_logfile'Peter Andersson
* origin/peppe/common_test/report_logfile: Get test case log file name reported to user OTP-9676
2011-12-07Merge branch 'ia/ssl/tcp-delivery-problem-may-cause-econnaborted'Ingela Anderton Andin
* ia/ssl/tcp-delivery-problem-may-cause-econnaborted: If if TLS/SSL-close-notify message is not delivered you can get econnaborted error.
2011-12-07Merge branch 'master' of super:otpLars Thorsen
* 'master' of super:otp: Add deps as erlang-flymake include directory.
2011-12-07Merge branch 'lars/erl_docgen/doc-update-ug'Lars Thorsen
* lars/erl_docgen/doc-update-ug: [erl_docgen] Updated users guide
2011-12-07Merge branch 'ka/flymake_include_deps'Henrik Nord
* ka/flymake_include_deps: Add deps as erlang-flymake include directory. OTP-9791
2011-12-07[erl_docgen] Updated users guideLars Thorsen
2011-12-07[orber] Update documentation according to the new handling of SSL optionsLars Thorsen
2011-12-07Merge branch 'sverk/packet_size-http/OTP-9389'Sverker Eriksson
* sverk/packet_size-http/OTP-9389: erts: Remove truncation of http packet parsing and return error instead honor packet_size for http packet parsing to fix OTP-9389
2011-12-07Merge branch 'hb/kernel/remove_debug/OTP-9789'Hans Bolinder
* hb/kernel/remove_debug/OTP-9789: Remove debug printout
2011-12-07Merge branch 'ia/ssl/public_key/test-maint'Ingela Anderton Andin
* ia/ssl/public_key/test-maint: Add default value for "user" if os:getenv("USER") returns false
2011-12-07Merge branch 'ia/ssl/session/cleanup-test'Ingela Anderton Andin
* ia/ssl/session/cleanup-test: Improve ssl session cleanup test
2011-12-07Add default value for "user" if os:getenv("USER") returns falseIngela Anderton Andin
2011-12-07Merge branch 'siri/reltool/doc-rootdir-recommendataion/OTP-9742'Siri Hansen
* siri/reltool/doc-rootdir-recommendataion/OTP-9742: Add recommendation about RootDir parameter to reltool:eval_target_spec/3
2011-12-07Merge branch 'siri/sasl/convert-to-common-test/OTP-9740'Siri Hansen
* siri/sasl/convert-to-common-test/OTP-9740: Convert sasl test suites to pure common test style
2011-12-07Merge branch 'dgud/mnesia/impl-table-options/OTP-8970'Dan Gudmundsson
* dgud/mnesia/impl-table-options/OTP-8970: [mnesia] Add possibility for implementation dependent storage options to create_table
2011-12-07Merge branch 'dgud/wx/deadlock-syncevent/OTP-9725'Dan Gudmundsson
* dgud/wx/deadlock-syncevent/OTP-9725: [wx] Avoid deadlock in handle_sync_event
2011-12-07Add deps as erlang-flymake include directory.Kevin Albrecht
Update erlang-flymake to recognize the "deps" folder as an include directory. This makes erlang-flymake compatible with the rebar dependency management tool's default folder structure, which puts included dependencies in "deps". Considered additionally adding deps/*/include, deps/*/ebin, and deps/*/src as include directories, but erlc's -I command line option does not support wildcards.
2011-12-07Remove debug printoutHans Bolinder
2011-12-07Merge branch 'bjorn/compiler/inline-binary-matching/OTP-9770'Björn Gustavsson
* bjorn/compiler/inline-binary-matching/OTP-9770: beam_validator: Fix type for failure label for bs_start_match2/5 inline_SUITE: Add the comma_splitter/1 test case Teach the compiler the 'no_dead' option
2011-12-06Minor diameter_dict_scanner fixAnders Svensson
Spec was wrong. Scanning a file that ended with $' or contained an empty $'-delimited string would have failed.
2011-12-06Skip sctp tests on {error, esocktnosupport}Anders Svensson
This is returned on MontaVista 4.0.1, Linux 2.6.10. On Solaris 9 (for one at least) it's eprotonosupport.
2011-12-06Ensure that TLS will be available in TLS suiteAnders Svensson
The existence of openssl is not enough.
2011-12-06Update documentationAnders Svensson
2011-12-06Use diameter_callback in relay and tls suitesAnders Svensson
2011-12-06Use diameter_callback in failover suiteAnders Svensson
2011-12-06Update app suiteAnders Svensson
2011-12-06Smarter diameter_callbackAnders Svensson
The module was originally just intended as a minimal callback implementation that could be used as a template. Being able to order just a subset of callbacks (with reasonable defaults) makes for simpler code in many cases however so ready support for this can be useful.
2011-12-06Update documentationAnders Svensson
2011-12-06Version -> 1.0Anders Svensson
2011-12-06Merge branch 'ta/docs'Henrik Nord
* ta/docs: Fix misspelling of chosen Fix typos in erl(1) Fix misspelling of 'turn off' Fix typo in reltool(3) Fix typo in gen_sctp(3) Fix typo in mod_responsecontrol.erl Fix typo in erts_alloc(3) Fix typos in ssl_cipher.erl Fix typos in expressions.xml file: correct make_link/2 and make_symlink/2 docs Fix typo in test_server(3) Fix typos in io_protocol.xml Fix typo in erlang(3) Fix typos in tar_SUITE Fix typos in erts/preloaded/src OTP-9787
2011-12-06Merge branch 'ao/fix-change-time-inval-dates'Henrik Nord
* ao/fix-change-time-inval-dates: Fix a crash when file:change_time/2,3 are called with invalid dates OTP-9785
2011-12-06beam_validator: Fix type for failure label for bs_start_match2/5Björn Gustavsson
A bs_start_match2/5 instruction will never fail (take the branch) if given a match state or a binary. Therefore, the type at the failure label should be 'term', not match state or binary. Without this correction, the beam_validator will reject safe programs.
2011-12-06If if TLS/SSL-close-notify message is not delivered you can get econnabortedIngela Anderton Andin
error.
2011-12-06inline_SUITE: Add the comma_splitter/1 test caseBjörn Gustavsson
Compilation would fail with an error message similar to: comma_splitter: function split_at_comma/2+32: Internal consistency check failed - please report this bug. Instruction: {put,{x,0}} Error: {match_context,{x,0}}: Noticed-by: René Kijewski
2011-12-06Teach the compiler the 'no_dead' optionBjörn Gustavsson
To facilitate debugging of compiler bugs, teach the compiler the 'no_dead' option. Since the beam_dead pass used to do the necessary splitting of basic blocks to expose all labels, we must move that splitting into a separate pass that is always run.
2011-12-06Improve ssl session cleanup testIngela Anderton Andin
Check last delay timer for both client and server side to avoide timing issues.
2011-12-06erts: Remove truncation of http packet parsing and return error insteadSverker Eriksson
This is a slight modification of previous commit by Steve Vinoski For backward compatibility of old users of decode_packet, I think it's enough to return error instead of keeping the old line truncation behaviour.
2011-12-06Merge branch 'ia/public_key/asn1'Ingela Anderton Andin
* ia/public_key/asn1: Asn1 simplification
2011-12-06[wx] Avoid deadlock in handle_sync_eventDan Gudmundsson
Avoid sending cb messages to the wx_object, since it may deadlock. Instead send it to the wxe_server which reads the state from the wx_object's process_dictionary. Ugly but it's the only way I can avoid the deadlock.
2011-12-05Merge branch 'anders/diameter/transport_restart/OTP-9756'Anders Svensson
* anders/diameter/transport_restart/OTP-9756: Fix transport restart bug
2011-12-05Fix misspelling of chosenTuncer Ayaz
2011-12-05honor packet_size for http packet parsing to fix OTP-9389Steve Vinoski
Allow applications to use a packet_size setting on a socket to control acceptable HTTP header line length. This gives them the ability to accept HTTP headers larger than the default settings allow, but also lets them avoid DOS attacks by accepting header lines only up to whatever length they wish to allow. Without this change, if an HTTP request/response line or header arrives on a socket in http, http_bin, httph, or httph_bin parsing mode, and the request/response line or header is too long to fit into a default inet_drv buffer of 1460 bytes, an unexpected error occurs. These problems were described and discussed on erlang-questions in June 2011 in this thread: http://erlang.org/pipermail/erlang-questions/2011-June/059563.html In the original code, no buffer reallocation occurs to enlarge the buffer, even if packet_size or line_length are set in a way that should allow the HTTP data to be parsed properly. The only available workaround was to collect headers and parse them using erlang:decode_packet, but that approach has drawbacks such as having to collect all HTTP header data before it can be handed to decode_packet for correct parsing, and also requiring each and every Erlang web server developer/maintainer to add the workaround to his or her web server. Change the packet parser to honor the packet_size setting for HTTP parsing. If packet_size is set, and an HTTP request/response or header line exceeds the default 1460 byte TCP buffer limit, return an indication to tcp_remain that it should realloc the buffer to enlarge it to packet_size. Also fix the HTTP parsing code to properly honor line_length by truncating any HTTP request/response or header lines that exceed that setting. For backward compatibility, default behavior is unchanged; if an application wants to be able to accept long HTTP header lines, it must set packet_size to an appropriate value. Buffer reallocation occurs only when needed, so the original default buffer size in the code is still the default. Make the line mode parsing honor packet_size as well, for consistency. Add new regression tests to the emulator decode_packet suite and also to the kernel gen_tcp_misc suite. The documentation for packet_size in inet:setopts/2 is already sufficient. Many thanks to Sverker Eriksson for his guidance on how to best fix this bug and also for reviewing a number of patch attempts prior to this one.
2011-12-05Fix misspelling of 'turn off'Tuncer Ayaz
2011-12-05Fix typo in reltool(3)Tuncer Ayaz