aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_node_tables.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-08-24 17:20:21 +0200
committerSverker Eriksson <[email protected]>2017-11-15 20:10:33 +0100
commitd736e87ff94ab8191f33dca55516e6c1d440b915 (patch)
tree900fd5ccbfbaae7e24bde62d66e9a43e1bd6b771 /erts/emulator/beam/erl_node_tables.c
parent5857245406584b8bfcbdf0be450ad494a992d5c8 (diff)
downloadotp-d736e87ff94ab8191f33dca55516e6c1d440b915.tar.gz
otp-d736e87ff94ab8191f33dca55516e6c1d440b915.tar.bz2
otp-d736e87ff94ab8191f33dca55516e6c1d440b915.zip
Add optimistic DFLAG_DIST_HOPEFULLY for pending connections
to avoid tuple fallbacks for export funs and bitstrings. ToDo: Re-encode if receiver turn out to be erl_interface/jinterface.
Diffstat (limited to 'erts/emulator/beam/erl_node_tables.c')
-rw-r--r--erts/emulator/beam/erl_node_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_node_tables.c b/erts/emulator/beam/erl_node_tables.c
index dd607f438e..2a33766ac8 100644
--- a/erts/emulator/beam/erl_node_tables.c
+++ b/erts/emulator/beam/erl_node_tables.c
@@ -628,7 +628,7 @@ erts_set_dist_entry_connected(DistEntry *dep, Eterm cid, Uint flags)
dep->connection_id &= ERTS_DIST_CON_ID_MASK;
}
dep->status |= ERTS_DE_SFLG_CONNECTED;
- dep->flags = flags & ~DFLAG_PENDING_CONNECTION;
+ dep->flags = flags & ~DFLAG_NO_MAGIC;
dep->cid = cid;
erts_atomic_set_nob(&dep->input_handler,
(erts_aint_t) cid);