aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-04-17[socket] Fixed various windows issuesMicael Karlberg
Building on windows broken again: * The 'inline' keywork needs som work on windows. * Function was outside of if-def. * Missing prototypes resulted in default prototypes. In this case, the actual problem was missing if-defs for win32 (that made functions exist on windows when they should not). Not sure why it compiled just fine on win32 but not win64 though.
2019-04-17[socket] Fixed beamsMicael Karlberg
Forgot about using 'otp_build update_preloaded --no-commit' when updating the preloaded and compiled with plain erlc... Caused problems for dyalizer... OTP-15658
2019-04-17[socket|test] Commented out setting debug during closeMicael Karlberg
2019-04-17[socket] Make use of the new select (read|write) functionsMicael Karlberg
Make use of the new select functions; enif_select_[read|write], for read and write select. These functions allows us to construct the select message ourseves: {'$socket', Socket, select, Ref} This is in preparations for when we introduce the 'nowait' (or something similar) value for the timeout argument (in accept, read and write funcions). It also solves (we hope) the term leakage problems (it was difficult to free the environment when there was only one/socket). OTP-15496
2019-04-17[socket|net] Make set|get options safe and type prefixMicael Karlberg
Firstly, make sure socket (and own) options manipulations are safe by adding a mutex that we take in the setopt and getopt functions. Secondly, change type prefix of various types from 'Socket' to 'ESock' (for instance; SocketDescriptor -> ESockDescriptor). OTP-15496
2019-04-17[socket] Restructure the close function(s)Micael Karlberg
To increase readability the close function has been slightly restructured.
2019-04-17[socket] Restructure the recvmsg result checkMicael Karlberg
To increase readability the recvmsg result check has been slightly restructured. In this case we made use of the error case function (fail) of the recv result check.
2019-04-17[socket] Restructure the recvfrom result checkMicael Karlberg
To increase readability the recvfrom result check has been slightly restructured. In this case we made use pf the error case function (fail) of the recv result check.
2019-04-17[socket] Restructure the recv result checkMicael Karlberg
To increase readability the recv result check has been slightly restructured.
2019-04-17[socket] Restructure the send result checkMicael Karlberg
To increase readability the send result check has been slightly restructured.
2019-04-17[socket] Messages from the nif code now has a proper socketMicael Karlberg
The messages sent from the nif code to an erlang process has been changed to: {'$socket', Socket :: socket(), Tag :: atom(), Info :: term()} This is in preparation for (using) the new enif select API. OTP-15496
2019-04-17[esock] Fixed socket close raceMicael Karlberg
Used ref from wrong environment when building reply.
2019-04-17ssh: Fix deprecation warnings in testsHans Nilsson
2019-04-17crypto: Remove unused var warning in testsHans Nilsson
2019-04-17ssh: Fix deprecation warnings in testsHans Nilsson
2019-04-17ssh: Remove unused function warning in testsHans Nilsson
2019-04-17ssh: Remove unused var warning in testsHans Nilsson
2019-04-17ssh: Remove unused var warningHans Nilsson
2019-04-17ssh: Use new api for aead ciphersHans Nilsson
2019-04-17ssh: Use correct names of ciphersHans Nilsson
aes_cbc -> aes_128_cbc aes_gcm -> aes_128_gcm, aes_256_gcm
2019-04-17crypto: New function supports/1Hans Nilsson
Takes argument hashs, public_keys, ciphers, macs, curves or rsa_opts. Returns the algorithm names, but ONLY the openssl names. supports/0 still returns aliases and misspellings.
2019-04-17Merge branch 'bmk/20190415/fix_timestamp_type'Micael Karlberg
2019-04-17Updated OTP versionOTP-21.3.6Erlang/OTP
2019-04-17Prepare releaseErlang/OTP
2019-04-17Merge branch 'raimo/ssl/beast-mitigation-hickup/ERIERL-346/OTP-15054' into ↵Erlang/OTP
maint-21 * raimo/ssl/beast-mitigation-hickup/ERIERL-346/OTP-15054: Do not create empty binaries when splitting iovec
2019-04-17eldap: Fix dialyzer warningsPéter Dimitrov
Change-Id: I4874f18bd1396f6efc0fe6e3efe791f2dae56243
2019-04-17ssl: Fix missing anchor warningPéter Dimitrov
Change-Id: Iafbf60765b4635d6a50286080716c67231bb5cd9
2019-04-17public_key: Accept digest types 'sha1' and 'sha'Péter Dimitrov
Update type spec for digest_type() to reflect that functions with this type accept the (wrong) atom 'sha1'. The right behavior would be to only accept 'sha' as that is the only valid value of crypto:sha1(). Update rsa_digest_oid/1 and ecdsa_digest_oid/1 to accept digest 'sha'. Change-Id: I03219396b797435298e098e03b93286b352e07e2
2019-04-17inet: Document type inet:stat_option()Péter Dimitrov
Document type inet:stat_option() to resolve missing anchor warnings when this type is referenced in other applications. Change-Id: Ifbf775c2f67b48bcf7d0cf21c39065d3dacc4f55
2019-04-17ssl: Changed function specs and ssl.xmlKenneth Lundin
Changed function specs and ssl.xml for generation of documentation according to the new way. Change-Id: I17b59b80f9072c3d2c20aea1b102f1e9c86987a0
2019-04-17ssl: Update standards_compliance.xmlPéter Dimitrov
Change-Id: I4da2b5c4defeb4e8893e512020d4dbdb96813542
2019-04-17Rewrite to use synchronous timer cancelRaimo Niskanen
2019-04-17Do not create empty binaries when splitting iovecRaimo Niskanen
2019-04-17Merge branch 'maint'Micael Karlberg
* maint: Updated OTP version Prepare release
2019-04-17Merge branch 'maint-20' into maintMicael Karlberg
* maint-20: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/common_test/doc/src/notes.xml # lib/common_test/vsn.mk # lib/erl_interface/doc/src/notes.xml # lib/erl_interface/vsn.mk # lib/snmp/doc/src/notes.xml # lib/snmp/vsn.mk # lib/ssh/doc/src/notes.xml # lib/ssh/vsn.mk # lib/tools/doc/src/notes.xml # lib/tools/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-04-17Implement some kind of PEKE to get forward secrecyRaimo Niskanen
2019-04-17Merge branch 'hasse/stdlib/erl_pp_newlines/OTP-15755'Hans Bolinder
* hasse/stdlib/erl_pp_newlines/OTP-15755: stdlib: Adjust test suites and docs due to erl_pp changes stdlib: Let the Pretty Printer output more on one line
2019-04-16Updated OTP versionOTP-20.3.8.21Erlang/OTP
2019-04-16Prepare releaseErlang/OTP
2019-04-16Merge branch 'rickard/make-fixes-20/OTP-15657' into maint-20Erlang/OTP
* rickard/make-fixes-20/OTP-15657: Remove own configured RM make variable
2019-04-16Merge branch 'rickard/make-fixes-20/OTP-15551' into maint-20Erlang/OTP
* rickard/make-fixes-20/OTP-15551: Fix install phase in build system
2019-04-16Merge branch 'sverker/doc-big-creation-tags/OTP-15766' into maint-20Erlang/OTP
* sverker/doc-big-creation-tags/OTP-15766: erts: Document NEW_PID, NEW_PORT, NEWER_REFERENCE erts: Add missing docs for DFLAG_MAP_TAG and DFLAG_BIG_CREATION
2019-04-16Merge branch 'hans/ssh/accept_callback_socket/OTP-15763' into maint-20Erlang/OTP
* hans/ssh/accept_callback_socket/OTP-15763: ssh: Present peername for accept_callback fun also for Sockets
2019-04-16Merge branch 'lukas/erl_interface/depend-fix/OTP-15757' into maint-20Erlang/OTP
* lukas/erl_interface/depend-fix/OTP-15757: erl_interface: Generate dependencies at compile time
2019-04-16Merge branch 'rickard/ts-find-ubuntu-inst/OTP-15716' into maint-20Erlang/OTP
* rickard/ts-find-ubuntu-inst/OTP-15716: Find installed OTP for Ubuntu
2019-04-16Merge branch ↵Erlang/OTP
'max-au/erts/maint-20/dirty_scheduler_shutdown/PR-2172/OTP-15690' into maint-20 * max-au/erts/maint-20/dirty_scheduler_shutdown/PR-2172/OTP-15690: erts: Use smp prefix on runq erts: release dirty runqueue lock before entering endless loop when BEAM is shutting down
2019-04-16Merge branch 'sverker/ets-no-mbuf-trapping/OTP-15660' into maint-20Erlang/OTP
* sverker/ets-no-mbuf-trapping/OTP-15660: erts: Remove ets traversal yielding if heap fragment
2019-04-16Merge branch 'bmk/snmp/20190328/get_mechanism/OTP-15691' into maint-20Erlang/OTP
* bmk/snmp/20190328/get_mechanism/OTP-15691: [snmp|manager|test] Add bind_to for agents [snmp|agent] Verbose (debug) improvements [snmp|agent] Add the net-if data (Extra) argument to get-callbacks [snmp|agent] Add the default get-mechanism module snmpa_get [snmp|agent] Add the get-mechanism behaviour [snmp|agent] Add/update/export useful types [snmp|agent] Build order [snmp|agent] Handle new get-mechanism config
2019-04-16Merge branch 'siri/ct/safe-write-log-cache/ERIERL-342/OTP-15758' into maint-20Erlang/OTP
* siri/ct/safe-write-log-cache/ERIERL-342/OTP-15758: [ct] Make sure log cache file is completely written before it is read
2019-04-16Merge branch 'siri/ct/fuzzer_support/ERIERL-143/OTP-14746' into maint-20Erlang/OTP
* siri/ct/fuzzer_support/ERIERL-143/OTP-14746: [ct] Fix bug with faulty suite name in end_per_suite config [ct] Add {testcase,TC,RepeatProps} syntax for repeating test cases [ct] Add post_groups/2 and post_all/3 hook functions # Conflicts: # lib/common_test/test/Makefile