| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Windows where it makes sense.
* Rework WaitForConnect once more to always report ENOTCONN on I/O operations on failed async sockets.
* Fix synchronous connections to a server that only listens on IPv6 (or whatever comes later in the list returned by getaddrinfo(), socket-15.*)
* Fix spurious writable event on async sockets (socket-14.15).
|
|
|
|
| |
'fconfigure -error' and not by a possible last command terminating the async connect. The terminating command always returns "socket is not connected" on connect error. In addition, some flags were renamed: TCP_ASYNC_SOCKET to TCP_NONBLOCKING and also the new state flags.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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).
|
| |\
| | |
| | | |
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].
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/cmdMZ.test: list-quoting of path names that might
* tests/exec.test: contain Tcl-special chars like { or [.
* tests/io.test: Should help us sort out Tcl Bug 554068.
* tests/pid.test:
* tests/socket.test:
* tests/source.test:
* tests/unixInit.test:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/fileSystem.test: issues uncovered by -debug 1 test
* tests/ioCmd.test: operations. Also backported some
* tests/pid.test: other fixes from the HEAD.
* tests/socket.test: [Bugs 675605, 675655]
* tests/source.test:
|
| | | |
|
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
|/ / |
|
| |
| |
| |
| | |
* tests/socket.test (socket-2.11): (esp. on multi-proc machines).
|