summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | | | | | | | Merge branch 'bmk/megaco/20210830/use_inet_backend/OTP-17533' into maintMicael Karlberg2021-09-0217-335/+934
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-17533 (OTP-17156)
| * | | | | | | | | | | | | | | | | | | | | [megaco|test] Print (app) environment at suite initMicael Karlberg2021-08-301-0/+12
| | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | [megaco|doc] Improved documentation for (udp) open and (tcp) connectMicael Karlberg2021-08-302-20/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improved documentation for the megaco_udp:open and megaco_tcp:connect functions. OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [megaco|test] Add inet-backend support for the mreq suiteMicael Karlberg2021-08-301-28/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [megaco|test] Fixed copyright end dateMicael Karlberg2021-08-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [megaco|test] Update load suite to use inet-backend optionMicael Karlberg2021-08-303-118/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [megaco|tcp-tranport|doc] Add description of the new backend optionMicael Karlberg2021-08-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add description of the new 'inet_backend' (udp transport) option. OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [megaco|tcp-transport|test] Added top-groups for inet_backend testsMicael Karlberg2021-08-303-59/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [megaco|tcp-transport] TCP transport can now use inet_backend optionMicael Karlberg2021-08-303-24/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The option 'inet_backend' is now handled to make it possible to specifically configure the inet-backend (inet or socket). Also found what must be a very old bug in the tcp-transport handling of transports (linkdb). It was supposed to be a list but was initially just the atom 'undefined'. Result improper list. Which may not have been an issue in practice if you only used one transport... OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [kernel|gen-tcp-socket] Misc tweakingMicael Karlberg2021-08-301-20/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many of the changes here will be "fixed" in a specific branch, but some of the tweaks will only occur here. OTP-17156 OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [megaco|udp-transport|test] CleanupMicael Karlberg2021-08-301-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [megaco|udp-transport|doc] Add description of the new backend optionMicael Karlberg2021-08-301-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add description of the new 'inet_backend' (udp transport) option. OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [megaco|udp-transport|test] Add top groups for testing inet_backend'sMicael Karlberg2021-08-303-48/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add top groups for testing the different backends (inet or socket) in the megaco_udp_SUITE. OTP-17533
| * | | | | | | | | | | | | | | | | | | | | [megaco|udp-transport] UDP transport can now use inet_backend optionMicael Karlberg2021-08-303-19/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The option 'inet_backend' is now handled to make it possible to specifically configure the inet-backend (inet or socket). OTP-17533
* | | | | | | | | | | | | | | | | | | | | | Merge PR-5149 from sverker/writable-bin-gc-optim OTP-17602Sverker Eriksson2021-09-022-22/+25
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optimize off-heap list traversal during GC
| * | | | | | | | | | | | | | | | | | | | | | erts: Remove benign BIN_FLAG_DRV for normal binariesSverker Eriksson2021-08-241-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove CHICKEN_PAD from normal (re)allocated binaries. 16d23f7ea95 made all binaries set BIN_FLAG_DRV by mistake. However, the BIN_FLAG_DRV has no practical runtime effect as all binaries use binary_alloc anyway. Can be useful however in troubleshooting to distinguish driver allocated binaries.
| * | | | | | | | | | | | | | | | | | | | | | erts: Refactor BINARY_OVERFLOW_CHECK into IS_BINARY_SIZE_OKSverker Eriksson2021-08-241-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't like control flow hidden in macros if avoidable.
| * | | | | | | | | | | | | | | | | | | | | | erts: Simplify complex ASSERTSverker Eriksson2021-08-241-5/+1
| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | erts: Remove second off-heap iteration after GCSverker Eriksson2021-08-241-3/+6
| | |_|_|/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead reset PB_ACTIVE_WRITER flag during first off-heap iteration while looking for binary shrink candidates.
* | | | | | | | | | | | | | | | | | | | | | Merge branch 'bmk/snmp/20210830/use_inet_backend/OTP-17526' into maintMicael Karlberg2021-09-0213-583/+969
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-17526
| * | | | | | | | | | | | | | | | | | | | | | [snmp|test] Print (app) environment at suite initMicael Karlberg2021-08-301-0/+11
| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | [snmp|manager|doc] Describe the new inet_backend optionMicael Karlberg2021-08-302-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also some "cleanup". OTP-17526
| * | | | | | | | | | | | | | | | | | | | | | [snmp|manager|test] Add top groups for inet-backend(s)Micael Karlberg2021-08-301-210/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the inet_backend top group(s) to be able to test use of the different inet backends (default, inet or socket). OTP-17526
| * | | | | | | | | | | | | | | | | | | | | | [snmp|manager] Use of inet-backend for gen_udpMicael Karlberg2021-08-301-52/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it possible to configure manager transport (net-if) to use the inet_backend gen_udp option. OTP-17526
| * | | | | | | | | | | | | | | | | | | | | | [snmp|agent|doc] Add description of new net-if optionMicael Karlberg2021-08-302-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it possible to confiure the transport to use the new 'inet_backend' (inet | socket) socket option. OTP-17526
| * | | | | | | | | | | | | | | | | | | | | | [snmp|agent] Use of inet-backend for gen_udpMicael Karlberg2021-08-309-308/+526
| | |_|_|/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it possible to configure agent transport (net-if) to use the inet_backend gen_udp option. OTP-17526 OTP-17410
* | | | | | | | | | | | | | | | | | | | | | Merge branch 'lukas/erts/fix-re-copy-subbin-bug/OTP-17585' into maintLukas Larsson2021-09-021-2/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/erts/fix-re-copy-subbin-bug/OTP-17585: erts: Make re copy small subbinaries
| * | | | | | | | | | | | | | | | | | | | | erts: Make re copy small subbinariesLukas Larsson2021-08-311-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because small subbinaries can be converted to heapbinaries during GC, we do not want to have references to those in the re state, so we copy any binary that is small enough to fit on the heap. Closes #5150
* | | | | | | | | | | | | | | | | | | | | | Merge branch 'dgud/wx/color-match/GH-4999/OTP-17577' into maintDan Gudmundsson2021-09-0236-4012/+4532
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | wx: add some font functions to wxtextattrDan Gudmundsson2021-08-258-3869/+4368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The functions was missing, other functions are missing too, but they seems to be for wxRichtext which is not yet implemented/supported.
| * | | | | | | | | | | | | | | | | | | | | | wx: Check wxColour type harderDan Gudmundsson2021-08-2431-143/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can't check that argument is a tuple of size 4 is a color, since it could also be an object_ref and make the clause match stuff the shouldn't be matched. Also make color to have a seperate type footprint to discover those cases.
* | | | | | | | | | | | | | | | | | | | | | | Merge branch 'ingela/common_test/ct-netconf-test-cuddle' into maintIngela Anderton Andin2021-09-012-71/+59
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ingela/common_test/ct-netconf-test-cuddle: common_test: Remove unnecessary check as test do not use OpenSSH
| * | | | | | | | | | | | | | | | | | | | | | | common_test: Remove unnecessary check as test do not use OpenSSHIngela Anderton Andin2021-08-302-71/+59
| | |_|/ / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | Merge branch 'dgud/debugger/update-rt-deps' into maintDan Gudmundsson2021-09-011-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | debugger: Update runtime depsDan Gudmundsson2021-08-301-2/+2
| |/ / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Required an update, the copied funcitonality uses a new function from erl_parse that is new.
* | | | | | | | | | | | | | | | | | | | | | | Merge branch 'kjell/erts/ycf_documentation_update/OTP-17596' into maintKjell Winblad2021-09-013-15/+174
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * kjell/erts/ycf_documentation_update/OTP-17596: Add documentation about how to use YCF in ERTS
| * | | | | | | | | | | | | | | | | | | | | | | Add documentation about how to use YCF in ERTSKjell Winblad2021-09-013-15/+174
|/ / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add text explaineing some best practices for using YCF for ERTS.
* | | | | | | | | | | | | | | | | | | | | | | Merge pull request #5172 from bjorng/bjorn/erts/fix-error-info/GH-5171/OTP-17591Björn Gustavsson2021-09-013-6/+32
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct extended error for binary_to_term/2
| * | | | | | | | | | | | | | | | | | | | | | | Correct extended error for binary_to_term/2Björn Gustavsson2021-08-313-6/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `binary_to_term/2` failed with a `badarg` exception, the extended error information would always blame the second argument even if the error was in the first argument: 1> binary_to_term(<<"">>, []). ** exception error: bad argument in function binary_to_term/2 called as binary_to_term(<<>>,[]) *** argument 2: invalid option in list 2> binary_to_term(<<131,100,0,10,97,95,110,101,119,95,97,116,111,109>>, [safe]). ** exception error: bad argument in function binary_to_term/2 called as binary_to_term(<<131,100,0,10,97,95,110,101,119,95,97,116,111,109>>, [safe]) *** argument 2: invalid option in list Correct the extended error information like this: 1> binary_to_term(<<"">>, []). ** exception error: bad argument in function binary_to_term/2 called as binary_to_term(<<>>,[]) *** argument 1: invalid external representation of a term 2> binary_to_term(<<131,100,0,10,97,95,110,101,119,95,97,116,111,109>>, [safe]). ** exception error: bad argument in function binary_to_term/2 called as binary_to_term(<<131,100,0,10,97,95,110,101,119,95,97,116,111,109>>, [safe]) *** argument 1: invalid or unsafe external representation of a term Closes #5171.
* | | | | | | | | | | | | | | | | | | | | | | | Merge 'sverker/crypto/ensure-engine-unloaded-fix/OTP-17593' into maintSverker Eriksson2021-08-314-46/+64
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | crypto: Fix ensure_engine_unloadedSverker Eriksson2021-08-312-8/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to work even if engine has not been added.
| * | | | | | | | | | | | | | | | | | | | | | | | crypto: Remove engine_finish_nifSverker Eriksson2021-08-313-38/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and let engine_free_nif do ENGINE_finish if necessary. This assumes we never want to do finish without free or vice versa.
* | | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'dgud/mnesia/fix-index-del-object/GH-5040/OTP-17546' into maintDan Gudmundsson2021-08-312-17/+40
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | mnesia: Do not unconditionally delete index keysDan Gudmundsson2021-08-182-17/+40
| | |_|_|_|_|_|/ / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | delete_object(NonExistingRecord) deleted index keys even if the record didn't exist, in set tables, and nothing was deleted from the real table. Solve this by doing the same checks as was done for bag tables. Fixes GH-5040
* | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #5145 from snar/kernel/malformed-dns-rrRaimo Niskanen2021-08-301-194/+236
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-17584: Malformed DNS RRs shall result in parse errors
| * | | | | | | | | | | | | | | | | | | | | | | | Restructure decoding to avoid multiple clauses per RR typeRaimo Niskanen2021-08-271-201/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use one clause per RR type when decoding. I.e do not use a separate error clause where a bunch of RR types needs to be repeated, and then can be missed in a future rewrite. * Introduce a macro ?MATCH_ELSE_DECODE_ERROR to throw(?DECODE_ERROR) for no match, to avoid cluttering the decode code with such throw:s. Use that macro consistently. * Group RRs into class IN vs. standard (class agnostic), for both decoding and encoding. * Remove erroneous ?S_URI clauses that remained after fixing encode/decode in 355eeac9. * Remove incorrect matching for class 'in' when encoding standard (class agnostic) RRs. * Introduce explicit clauses for ?S_OPT instead of falling through to the default clause.
| * | | | | | | | | | | | | | | | | | | | | | | | Malformed DNS RRs shall result in parse errorsAlexandre Snarskii2021-08-231-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #5170 from fhunleth/fix-ip_mreq-specRaimo Niskanen2021-08-301-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | OTP-17590: Fix ip_mreq spec to match implementation
| * | | | | | | | | | | | | | | | | | | | | | | | Fix ip_mreq spec to match implementationFrank Hunleth2021-08-301-1/+1
|/ / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the `address` key to `interface` which matches what is wanted for the `add_membership` option.
* | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #4983 from IngelaAndin/ingela/ssl/psk/GH-4978/OTP-17501Ingela Andin2021-08-307-293/+411
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ingela/ssl/psk/gh 4978/otp 17501