aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-11-09Merge branch 'john/erts/misc-iovec-issues/OTP-14745/OTP-14750' into maint-20Erlang/OTP
* john/erts/misc-iovec-issues/OTP-14745/OTP-14750: Ignore empty binaries in enif_inspect_iovec Emasculate writable binaries on entering an iovec
2017-11-09Merge branch 'john/erts/zlib-1.2.11-fixes/OTP-14751' into maint-20Erlang/OTP
* john/erts/zlib-1.2.11-fixes/OTP-14751: Avoid WindowBits=8 as per the manual Fix deflateParams on zlib 1.2.11
2017-11-09Avoid WindowBits=8 as per the manualJohn Högberg
The docs for zlib:deflateInit/6 explicitly mention that 8 is broken and should not be used unless we know for certain that our zlib version supports it.
2017-11-09Fix deflateParams on zlib 1.2.11John Högberg
1.2.11 started bailing when avail_out==0 regardless of whether there's anything to flush or not, and there's no point in adapting the old method since it was vulnerable to bugs in other zlib versions which updated the deflate parameters even on failure. The api_deflateParams test has been expanded accordingly, and two white-box cases in zip_usage has been updated to make fewer assumptions about the output; the validity of the compressed data is what matters, not whether it's exactly the same as the test vector.
2017-11-07Ignore empty binaries in enif_inspect_iovecJohn Högberg
2017-11-07Emasculate writable binaries on entering an iovecJohn Högberg
The lack of this caused serious data corruption when a binary was altered after entering the queue. This went unnoticed because it was never used without erlang:iolist_to_iovec, which always emasculates binaries.
2017-11-02Updated OTP versionOTP-20.1.4Erlang/OTP
2017-11-02Update release notesErlang/OTP
2017-11-02Merge branch ↵Erlang/OTP
'ingela/inets/maint/httpd-location-chunk-and-close/OTP-14716/OTP-14656/OTP-14696' into maint-20 * ingela/inets/maint/httpd-location-chunk-and-close/OTP-14716/OTP-14656/OTP-14696: inets: Prepare for release inets: httpd - Fix broken handling of POST requests inets: Make sure httpd:stop_service is synchronous inets: httpd - do not hardcode 302 status for location
2017-11-01inets: Prepare for releaseIngela Anderton Andin
2017-11-01inets: httpd - Fix broken handling of POST requestsIngela Anderton Andin
New chunk mechanism of body data in POST requests added in 5d01c70ca399edf28e99dc760506329689fab6ba broke handling of POST body data not using the new mechanism. Added better regression test
2017-11-01inets: Make sure httpd:stop_service is synchronousIngela Anderton Andin
2017-11-01inets: httpd - do not hardcode 302 status for locationIngela Anderton Andin
If a status code is provide by the ESI script that status code should have precedence over internal defaults. Also remove RFC 2616 requirement that URI must be absolute, that requirement is relaxed by RFC 7231.
2017-10-25Updated OTP versionOTP-20.1.3Erlang/OTP
2017-10-25Update release notesErlang/OTP
2017-10-25Update version numbersErlang/OTP
2017-10-25Merge branch 'lukas/erts/fix-cpu-bind-w-modifies-scheduler-avail/OTP-14694' ↵Erlang/OTP
into maint-20 * lukas/erts/fix-cpu-bind-w-modifies-scheduler-avail/OTP-14694: erts: Fix so that bind correct schedulers
2017-10-25Merge branch 'anders/diameter/decode/OTP-14684' into maint-20Erlang/OTP
* anders/diameter/decode/OTP-14684: vsn -> 2.1.2 Update appup for ERIERL-14684
2017-10-25Merge branch 'anders/diameter/decode/ERIERL-85' into maint-20Erlang/OTP
* anders/diameter/decode/ERIERL-85: Fix error handling when decoding an AVP with an alternate dictionary Remove unused function arguments Fix faulty recursion
2017-10-25Merge branch 'raimo/snmp/option-recbuf-broken-for-snmpm/OTP-13372' into maint-20Erlang/OTP
* raimo/snmp/option-recbuf-broken-for-snmpm/OTP-13372: Update version Fix speling error 'sndbuf' -> 'recbuf'
2017-10-25Merge branch 'john/erts/zlib-ctrl-proc/OTP-14672/ERL-494' into maint-20Erlang/OTP
* john/erts/zlib-ctrl-proc/OTP-14672/ERL-494: Add zlib:set_controlling_process/2
2017-10-23erts: Fix so that bind correct schedulersLukas Larsson
When the cpu ids and scheduler ids don't match, the end schedulers could end up not being bound when they should be. example: > taskset -c 1-3 erl +S 4 +sbts > erlang:system_info(scheduler_bindings). {1,2,3,unbound} This fix makes it so that all cores are used to bind schedulers.
2017-10-16Update versionRaimo Niskanen
2017-10-14Fix error handling when decoding an AVP with an alternate dictionaryAnders Svensson
The options map wasn't updated after the AVP was identified, with the resulting consequences for M-bit interpretation.
2017-10-13Remove unused function argumentsAnders Svensson
Which may have been used in the past, but aren't now.
2017-10-13Fix faulty recursionAnders Svensson
The wrong variable was passed into the decode recursion, causing the options map to be contaminated by strict_mbit and failed_avp modifications that should only apply to component AVPs in the Grouped case. Decode errors and M-bits could be ignored as a result.
2017-10-13vsn -> 2.1.2Anders Svensson
2017-10-13Update appup for ERIERL-14684Anders Svensson
2017-10-13Fix speling error 'sndbuf' -> 'recbuf'Raimo Niskanen
2017-10-11Add zlib:set_controlling_process/2John Högberg
2017-10-09Updated OTP versionOTP-20.1.2Erlang/OTP
2017-10-09Update release notesErlang/OTP
2017-10-09Update version numbersErlang/OTP
2017-10-09Merge branch 'sverker/bad-dist-msg-bug/ERIERL-80/OTP-14661' into maint-20Erlang/OTP
* sverker/bad-dist-msg-bug/ERIERL-80/OTP-14661: erts: Fix bug when detecting bad dist message Add distribution_SUITE:bad_dist_ext_size
2017-10-09Merge branch 'anders/diameter/reg_monitor/OTP-14668' into maint-20Erlang/OTP
* anders/diameter/reg_monitor/OTP-14668: vsn -> 2.1.1 Update appup and code_change for ERIERL-83
2017-10-09Merge branch 'anders/diameter/reg_monitor/ERIERL-83' into maint-20Erlang/OTP
* anders/diameter/reg_monitor/ERIERL-83: Fix missing monitor in diameter_reg
2017-10-05vsn -> 2.1.1Anders Svensson
2017-10-05Update appup and code_change for ERIERL-83Anders Svensson
2017-10-05Fix missing monitor in diameter_regAnders Svensson
Commit fae8ca0c inadvertently removed the monitor at add/1 and add_new/1. As a result, process death did not remove associations, causing table diameter_reg to leak entries and stop/start of a service to fail. Add a testcase to detect the problem, which existing testcases miss.
2017-10-02erts: Fix bug when detecting bad dist messageSverker Eriksson
We can't just leave it in queue with dist_ext=NULL. Two symptoms seen: 1. 'receive' trying to deref dist_ext as NULL. 2. GC think it's a term and put THE_NON_VALUE in root set.
2017-10-02Add distribution_SUITE:bad_dist_ext_sizeSverker Eriksson
2017-10-02Updated OTP versionOTP-20.1.1Erlang/OTP
2017-10-02Prepare releaseErlang/OTP
2017-10-02Merge branch 'john/erts/fix-zlib-merge/OTP-14648/OTP-14649' into maint-20Erlang/OTP
* john/erts/fix-zlib-merge/OTP-14648/OTP-14649: Fix zlib merge snafu
2017-10-02Merge branch 'hans/ssh/printout_crash/OTP-14645' into maint-20Erlang/OTP
* hans/ssh/printout_crash/OTP-14645: ssh: fix broken printouts
2017-10-02Merge branch 'bjorn/erts/match-context/ERL-490/OTP-14640' into maint-20Erlang/OTP
* bjorn/erts/match-context/ERL-490/OTP-14640: Fix incorrect internal consistency failure for binary matching code
2017-10-02Merge branch 'hans/ssh/adjust_for_peers_version/OTP-14638' into maint-20Erlang/OTP
* hans/ssh/adjust_for_peers_version/OTP-14638: ssh: exclude aes_gcm if peer is OpenSSH 6.2 (known bug)
2017-10-02Fix zlib merge snafuJohn Högberg
I accidentally merged a few fixes directly to maint-20 (and then to maint and master), instead of merging to maint and master and waiting for a patch to merge it into maint-20, leaving the related tickets dangling. This commit does nothing beyond getting the tickets (and their release notes) into the next patch.
2017-09-29Fix gunzip/1 of concatenated gzip filesJohn Högberg
Quoting RFC 1952: "A gzip file consists of a series of "members" (compressed data sets). [...] The members simply appear one after another in the file, with no additional information before, between, or after them."
2017-09-29Fix minor incompatibilities in inflate behaviorJohn Högberg
When presented with multiple valid but concatenated streams, the old driver returned an empty result once the end of the first stream was reached, and kept doing so even if fed new data. The new driver/NIF returned a data_error instead. zlib:inflateInit/3 has been added to control this behavior, but is not yet ready for public use.