aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2012-11-05Add reopen message from watchdogAnders Svensson
This makes capabilities available to service_info as soon as capabilities exchange has been completed. In particular, before state OKAY is reached.
2012-11-05Add options service_infoAnders Svensson
To retrieve service_opt() values. Don't document it yet.
2012-11-05Add diameter_reg:wait/1Anders Svensson
Mostly to use it in the watchdog test suite that's been broken by sequence masks. Do a bit of cleanup while we're at it.
2012-11-05Clarify diameter_transport docAnders Svensson
2012-11-05Remove pre-OTP configure supportAnders Svensson
It's neither used nor maintained.
2012-11-05Remove obsolete make targetAnders Svensson
There are plt/dialyze targets in src/Makefile.
2012-11-05Use sequence masks in test suitesAnders Svensson
2012-11-05Implement sequence masksAnders Svensson
Code should be loaded in this order: diameter_session (sequence/1) diameter_peer_fsm (calls to sequence/1) diameter_service (sequence config, mask in receive_message/3) diameter_watchdog (mask in peer start and receive_message/3) diameter_config (accept sequence config) Order of diameter and diameter_peer doesn't matter.
2012-11-05Document sequence masksAnders Svensson
Allow 32-bit Hop-by-Hop and End-to-End identifiers to be modified by replacing the topmost bits with a constant value. This allow services on different nodes to generate globally unique identifiers by having each node mask in its own constant.
2012-11-05Merge branch 'anders/diameter/service_info/OTP-10460' into maintAnders Svensson
* anders/diameter/service_info/OTP-10460: Don't call service process for service_info
2012-11-05Merge branch 'anders/diameter/failover_error/OTP-10461' into maintAnders Svensson
* anders/diameter/failover_error/OTP-10461: Add missing clause for peer failover
2012-11-05Merge branch 'anders/diameter/event_timing/OTP-10459' into maintAnders Svensson
* anders/diameter/event_timing/OTP-10459: Send up event *after* inserting peer in table
2012-11-05Merge branch 'anders/diameter/watchdog_timeout/OTP-10444' into maintAnders Svensson
* anders/diameter/watchdog_timeout/OTP-10444: Exit peer_fsm with {shutdown, watchdog_timeout}, not shutdown
2012-11-05Merge branch 'anders/diameter/packet_callback/OTP-10441' into maintAnders Svensson
* anders/diameter/packet_callback/OTP-10441: Use packet callbacks in traffic suite Improve other diameter_app doc Document eval_packet Add eval_packet for examining outgoing messages after encode
2012-11-05Merge branch 'anders/diameter/capabilities_errors/OTP-10440' into maintAnders Svensson
* anders/diameter/capabilities_errors/OTP-10440: Fix matching in case of erroneous capabilities config Fix handling of Origin-State-Id config
2012-11-02Merge branch 'lukas/rcs-ppc-cross-tests/OTP-10265' into maintLukas Larsson
* lukas/rcs-ppc-cross-tests/OTP-10265: Skip ct_netconf tests if there is no crypto Migrate timers from test_server to ct interface Update tests to run with an oldshell emulator Move crypto check so that tc is skipped and not failed Update for new version of ppc compilation chain Verify that ebin folder of applications exists
2012-11-02Option to ssh:connect {pref_public_key_algs, list()} where you can give the ↵Fredrik Gustafsson
algorithms you want to use
2012-10-24Merge branch 'egil/ensure-erl_crash.dump/OTP-10422' into maintBjörn-Egil Dahlberg
* egil/ensure-erl_crash.dump/OTP-10422: test: Relax timeouts for heart_SUITE erts: Fix crash dump write to port hack erts: Fix lock check assertion doc: Document ERL_CRASH_DUMP_SECONDS behaviour test: Add test for heart restart on crash test: Add test for heart restart on crash erts: Change ERL_CRASH_DUMP_SECONDS behaviour test: Refactor away ?line macros in heart_SUITE erts: Search for heart in ports that are alive heart: Refactor heart debugging erts, heart: Ensure erl_crash.dump is written
2012-10-23test: Relax timeouts for heart_SUITEBjörn-Egil Dahlberg
Timeouts were set too narrow and timedout on slow machines
2012-10-22Skip ct_netconf tests if there is no cryptoLukas Larsson
2012-10-22Migrate timers from test_server to ct interfaceLukas Larsson
2012-10-22Update tests to run with an oldshell emulatorLukas Larsson
Some of the tests which tested shell output assumed that when starting a shell using `erl` a shell with newshell was used. This is not true for systems built with --disable-termcap, so the on some embedded systems those tests failed.
2012-10-22Move crypto check so that tc is skipped and not failedLukas Larsson
2012-10-18doc: Document ERL_CRASH_DUMP_SECONDS behaviourBjörn-Egil Dahlberg
* heart reboot behaviour * erl_crash.dump file write behaviour
2012-10-18test: Add test for heart restart on crashBjörn-Egil Dahlberg
* node_start_soon_after_crash tests that heart restarts beam upon a crash and only lets beam write its crash dump for a certain amount of time
2012-10-16test: Add test for heart restart on crashBjörn-Egil Dahlberg
* node_start_immediately_after_crash tests that heart restarts beam upon a crash and will not generate a crash dump
2012-10-15test: Refactor away ?line macros in heart_SUITEBjörn-Egil Dahlberg
2012-10-15erts, heart: Ensure erl_crash.dump is writtenBjörn-Egil Dahlberg
When a crash dump is about to be written and we have heartbeat enabled on a system. We need time to write it before heart explicitly kills the beam.
2012-10-09Use packet callbacks in traffic suiteAnders Svensson
2012-10-09Improve other diameter_app docAnders Svensson
2012-10-09Document eval_packetAnders Svensson
2012-10-09Add eval_packet for examining outgoing messages after encodeAnders Svensson
Both prepare_request/prepare_retransmit and handle_request can return {eval_packet, RC, PostF} where PostF will be evaluated on any encoded packet before transmission.
2012-10-09Don't call service process for service_infoAnders Svensson
So that the function is usable when we're already in the service process. For example, in peer_up/peer_down callbacks.
2012-10-04Add missing clause for peer failoverAnders Svensson
diameter_codec:sequence_numbers/1 is called on an already extracted pair of sequence numbers in the case of failover.
2012-10-03Merge branch 'sa/dialyzer-fix-r15b02' into maintHenrik Nord
* sa/dialyzer-fix-r15b02: Fix a crash in race condition detection Remove old untested experimental extension Respect {plt_check,false} option when using dialyzer:run/1 Fix handling of tuple set remote types appearing in tuple sets OTP-10464
2012-10-01Verify that ebin folder of applications existsLukas Larsson
Sometime in cross environments the documentation will create the lib folders, but there will be no ebin so all undefined functions should then be ignored.
2012-10-01Send up event *after* inserting peer in tableAnders Svensson
Otherwise a request in response to an event can return error due to the peer not yet having been inserted.
2012-09-26Fix a crash in race condition detectionStavros Aronis
Analysis is not always able to find the variable labels and names for any kind of arguments passed to the ets module functions.
2012-09-26Remove old untested experimental extensionStavros Aronis
This extension allowed minimal detection of race conditions that were passing through behaviour API calls, but had no tests in any suite and also caused a crash in R15B02.
2012-09-26Respect {plt_check,false} option when using dialyzer:run/1Stavros Aronis
2012-09-26Fix handling of tuple set remote types appearing in tuple setsStavros Aronis
Originally reported by Joseph Wayne Norton, simplified testcase provided by Hans Bolinder.
2012-09-25Fix matching in case of erroneous capabilities configAnders Svensson
{invalid, K, V} was never matched. Return full reason, not just an atom.
2012-09-25Merge branch 'egil/fix-missing-modules-app/OTP-10439' into maintBjörn-Egil Dahlberg
* egil/fix-missing-modules-app/OTP-10439: tools: Add missing lcnt module to .app.src percept: Add missing modules to .app.src
2012-09-25Fix handling of Origin-State-Id configAnders Svensson
Documentation (correctly) say {'Origin-State-Id', Unsigned32()}, code (incorrectly) expected {'Origin-State-Id', [Unsigned32()]}.
2012-09-25Exit peer_fsm with {shutdown, watchdog_timeout}, not shutdownAnders Svensson
This was a remnant of the time when sasl interpreted everything but shutdown or normal as a crash.
2012-09-12Merge branch 'maint-r15' into maintPeter Andersson
2012-09-10Update release notesErlang/OTP
2012-09-10Fix broken interactive modePeter Andersson
2012-09-10Merge branch 'lukas/jinterface/whitespace_test_fix' into maintLukas Larsson
* lukas/jinterface/whitespace_test_fix: Do not build jinterface test if there is no jinterface Escape whitespace in path
2012-09-07tools: Add missing lcnt module to .app.srcBjörn-Egil Dahlberg