Age | Commit message (Collapse) | Author |
|
OTP-15897
|
|
The return value for an async call (Timeout = nowait) will now
(normally) result in a {select, SelectInfo} instead (if a select
was performed).
OTP-15731
|
|
Make it possible for the tttest server to run with async.
|
|
Make Unix Domain (stream) socket work with the ttest
command line tool (for esock server and client).
OTP-15822
|
|
Updated the ttest command line tool to the new API.
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = once
Client: socket with active = once
Message Size: small, medium and large
Also added server path cleanup when closing.
OTP-15822
|
|
Add the first *working* ttest test case for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = false
Message Size: small
OTP-15822
|
|
Added a number of ttest test cases with transport gen_tcp and socket.
Server with transport = gen_tcp, active = once and client
using transport = socket(tcp) (and active = false, once and true).
Also fixed a counting error in the server (forgot to include the
header, 16 bytes, in the byte count).
OTP-14831
|
|
Added a number of ttest test cases with transport gen_tcp.
Server with transport = gen_tcp, active = once and client
using transport = gen_tcp (and active = false, once and true).
Also a bit of client and server cleanup (remove and cleanup up
some printouts).
OTP-14831
|
|
Added a number of ttest test cases with transport gen_tcp.
Server with transport = gen_tcp, active = false and client
using transport = gen_tcp (and active = false, once and true).
Also "fixed" the gen_tcp socket buffer size (default size
was way to small for the "large" messages).
OTP-14831
|
|
Added a (first) test case based on the ttest modules.
OTP-14831
|
|
Added a ttest lib module for some common functions.
Added a process (server handler and reader processes) stats
printouts. So far only used by the server.
There is still a "leak". Its a term leak. Some of the
functions take a ref as argument (recv, send and accept for
instance). This is stored internally, by way of a call to
the enif_make_copy, in order to be used later in a select
call. Its not "released" though, until the environment is
released, which happens when the socket dtor callback function
is called.
Possible solution: We need to keep "temporary" environments (one
for each of the queues), which we can clear (basically we need two,
one that is currently used for new ref's and one for the old ref's).
OTP-14831
|
|
|