| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| | |
made them robust against connect failures
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
connections.
* Let TcpInputProc() and TcpOutputProc() fail before calling any I/O syscalls when an asynchronous connection has failed.
* Adjust the tests accordingly.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
* Advance async connections whenever the channel is touched (e.g. by [chan configure]).
* Add a noblock argument to WaitForConnect(), so that advancing async connections from [chan configure] doesn't block even on a blocking socket.
|
| |
| |
| |
| |
| | |
from the script level.
* More tests for corner cases.
|
| |
| |
| |
| | |
writable or something. When it does so for a pending socket, it is falsely assumed to have succeeded and a subsequent read/write operation will fail.
|
| |
| |
| |
| |
| |
| | |
more than one address.
* socket.test: Extend and improve tests for [socket -async]
* socket.test: Add latency measuring and calculation for Windows.
|
| | |
|
| | |
|
| |
| |
| |
| | |
pending [socket -async].
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
synchronously.
|
| | |
|
| |
| |
| | |
Eliminates a memory leak in `make valgrind`.
|
| |
| |
| |
| | |
that both address families might be available, but localhost only resolves to one of the loopback addreses.
|
| |
| |
| |
| | |
randomly fail depending on the local network environment.
|
| |
| |
| |
| |
| | |
the writable fileevent at the end of an asynchronous connection attempt. Improve comments for some of the trickery around [socket -async]. [Bug 3325339]
* tests/socket.test: Adjust tests to the async code changes. Add more tests for corner cases of async sockets.
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
[socket -async]
* unix/tclUnixSock.c: Set up the file handler for async sockets to fire on exceptions in addition to writable state.
* tests/socket.test: Improve error reporting when socket-14.2 times out.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
and NetBSD.
* Unify channel name creation.
* Prevent error messages from appearing twice.
* Double the measured latency in socket.test to be on the safe side.
|
| | |
| | |
| | |
| | |
| | | |
use that for some of the tests instead of fixed "big enough" times.
* Improve correctness of [socket -async] in some error cases.
|
| | |
| | |
| | |
| | | |
* Cache async socket errors for later use by [fconfigure -error]
* Add tests for the above
|
| | | |
|
| |/
| |
| |
| |
| | |
have support for ip6
Follow-up to checkin from 2011-05-11 by rmax
|
| | |
|
| |
| |
| |
| |
| | |
here, as the generic server code already takes care of that.
* tests/socket.test (accept): Add tests to make sure that this remains so.
|
| |\
| | |
| | | |
cause more harm than good. Purged them (except in zlib files).
|
| | | |
|
| | |
| | |
| | |
| | | |
have been run
|
| | |
| | |
| | |
| | | |
unneeded [after]s.
|
| | |
| | |
| | |
| | | |
tests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
address family set to any, inet, and inet6 respectively. Use
constraints to skip the tests if a family is found to be
unsupported or not configured on the local machine. Adjust the
tests to dynamically adapt to the address family that is being
tested.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[fconfiguyre] commands.
* generic/tclInt.h: Introduce TclCreateSocketAddress() as a
* generic/tclIOSock.c: replacement for the platform-dependent
* unix/tclUnixSock.c: TclpCreateSocketAddress() functions.
* unix/tclUnixChan.c: Extend the [socket] and [fconfigure]
* unix/tclUnixPort.h: commands to behave as proposed in
* win/tclWinSock.c: TIP #162.
* win/tclWinPort.h:
* compat/fake-rfc2553.c: A compat implementation of the APIs
* compat/fake-rfc2553.h: defined in RFC-2553 (getaddrinfo() and
friends) on top of the existing
gethostbyname() etc.
* unix/configure.in: Test whether the fake-implementation is
* unix/tcl.m4: needed.
* unix/Makefile.in: Add a compile target for fake-rfc2553.
* win/configure.in: Allow cross-compilation by default
* tests/socket.test: Improve the test suite to make more use of
* tests/remote.tcl: randomized ports to reduce interference with
tests running in parallel or other services
on the machine.
|
| | | |
|
| | | |
|
| |/
|/|
| |
| | |
fire but is better than nothing. Reliable for me.
|
|\ \
| |/
|/| |
more harm than good. Purged them.
|
| |
| |
| | |
more harm than good. Purged them.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to 40 seconds to allow for really slow machines. Also extended
actual/expected results with value of variable 'done' to make it
clearer when a test fails due to a timeout. [Bug 792159].
* generic/tclPipe.c (TclCreatePipeline): Modified the processing
of pipebars to fail if the last bar is followed only by
redirections. [Bug 768659].
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
[removeFile] commands.
* generic/tclCmdAH.c (Tcl_FormatObjCmd): Restored missing
line from yesterdays' 868486 backport that caused failed alloc's
on LP64 systems.
|
| |
| |
| |
| |
| | |
<stwo@users.sourceforge.net> checking that -server and -async
don't go together [Tcl SF Bug 796534].
|