Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | merge trunk | dgp | 2017-09-01 | 1 | -1/+5 | |
|\ | ||||||
| * | merge core-8-6-branch | jan.nijtmans | 2017-08-22 | 1 | -1/+5 | |
| |\ | ||||||
| | * | Fix [d2612a2fa193196787aab33bb57f69b1eef9e30c|d2612a2fa1]: Build breaks ↵ | jan.nijtmans | 2017-08-22 | 1 | -123/+170 | |
| | | | | | | | | | | | | | | | because of gcc error. Only use "#pragma GCC diagnostic" if the compiler supports this. Also re-format tclUnixSock.c without further functional changes. | |||||
| | * | [f2336c116b] Move pragmas to make gcc happy; it is pickier than clang. | dgp | 2017-08-14 | 1 | -3/+3 | |
| | | | ||||||
* | | | merge trunk | dgp | 2017-06-16 | 1 | -3/+3 | |
|\ \ \ | |/ / | ||||||
| * | | [f2336c116b] Move pragmas to make gcc happy; it is pickier than clang. | dkf | 2017-06-14 | 1 | -3/+3 | |
| | | | ||||||
* | | | merge trunk | dgp | 2017-05-08 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | merge core-8-6-branch | jan.nijtmans | 2017-04-28 | 1 | -1/+1 | |
| |\ \ | | |/ | ||||||
| | * | (cherry-pick from "fix-1997007" branch): fix typo- resp. copy-paste-bug ↵ | jan.nijtmans | 2017-04-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | (using wrong threadInfo pointer in ConsoleOutputProc, should be writer, not reader) | |||||
* | | | merge trunk | dgp | 2017-04-27 | 1 | -6/+28 | |
|\ \ \ | |/ / | ||||||
| * | | [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵ | dkf | 2017-04-27 | 1 | -6/+28 | |
| |\ \ | | |/ | | | | | | | zlib channel transform. | |||||
| | * | Deal with a couple of obscure causes of warnings on some versions of OSX. | dkf | 2017-04-25 | 1 | -7/+28 | |
| | | | ||||||
* | | | merge trunk | dgp | 2017-04-11 | 1 | -129/+199 | |
|\ \ \ | |/ / | ||||||
| * | | More minor style fixes. | dkf | 2017-04-10 | 1 | -24/+24 | |
| | | | ||||||
| * | | Merge Harald's "robust-async-connect-tests" branch. Thanks! | jan.nijtmans | 2017-04-10 | 1 | -0/+24 | |
| |\ \ | ||||||
| | * \ | merge trunk | jan.nijtmans | 2014-07-18 | 1 | -2/+56 | |
| | |\ \ | ||||||
| | * | | | Replaced option "-unsupported1" by test command "testsocket debugflags" ↵ | oehhar | 2014-07-17 | 1 | -54/+13 | |
| | | | | | | | | | | | | | | | | | | | | (thanks Donal, Donald). | |||||
| | * | | | Robust async connect tests by temporarely switching off auto continuation. ↵ | oehhar | 2014-06-05 | 1 | -1/+66 | |
| | | | | | | | | | | | | | | | | | | | | Ticket [13d3af3ad5] | |||||
| * | | | | Minor style issues through the socket implementation code. | dkf | 2017-04-09 | 1 | -115/+161 | |
| | | | | | ||||||
| * | | | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵ | jan.nijtmans | 2017-02-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking. | |||||
* | | | | | merge trunk | dgp | 2017-01-12 | 1 | -8/+31 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Make OpenTcpServerEx accept a 'service' string parameter instead of a port. | limeboy | 2016-12-14 | 1 | -2/+7 | |
| | | | | | ||||||
| * | | | | Allow a boolean argument to be passed. | limeboy | 2016-11-24 | 1 | -1/+2 | |
| | | | | | ||||||
| * | | | | Implement the whole TIP 456 specification. | limeboy | 2016-11-24 | 1 | -21/+20 | |
| | | | | | | | | | | | | | | | | | | | | Also introduces the `-reuseaddr' and `-reuseport' options for the `socket' command. | |||||
| * | | | | Fix indenting | jan.nijtmans | 2016-11-22 | 1 | -8/+8 | |
| | | | | | ||||||
| * | | | | Added stub entry for tip #456. Documentation and tests still missing. ↵ | jan.nijtmans | 2016-11-22 | 1 | -8/+6 | |
| | | | | | | | | | | | | | | | | | | | | Doesn't conform to TIP yet. | |||||
| * | | | | This is patch.002 from ticket ↵ | jan.nijtmans | 2016-11-22 | 1 | -0/+20 | |
| | | | | | | | | | | | | | | | | | | | | [0b9d3ba2ba3e1e3fc33c97d5a9fa7ef85d11a696|0b9d3ba2ba], as first start of tip-456 implementation | |||||
* | | | | | merge trunk | dgp | 2016-11-16 | 1 | -3/+3 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵ | jan.nijtmans | 2016-11-16 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | type-casts which are not necessary any more. | |||||
* | | | | | Reduce direct use of the tclEmptyStringRep. | dgp | 2016-10-12 | 1 | -6/+9 | |
|/ / / / | ||||||
* | | | | Fix [3cc1d91345]: duplicate calls to TclpFreeAllocCache() on thread exists | jan.nijtmans | 2016-10-11 | 1 | -1/+1 | |
|\ \ \ \ | | |_|/ | |/| | | ||||||
| | | | | ||||||
| \ \ \ | ||||||
*-. \ \ \ | [4d5ae7d88a] Stop crashes with asynchronous connects to hosts without addresses. | dkf | 2016-10-04 | 1 | -1/+1 | |
|\ \ \ \ \ | | |/ / / | ||||||
| | * | | | [4d5ae7d88a] Stop crashes with asynchronous connects to hosts without addresses. | dkf | 2016-10-04 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | [4d5ae7d88a] Restore default-to-error logic in TcpConnecttkt_4d5ae7d88a | gahr | 2016-09-27 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | When opening a server socket on an ephemeral port, make sure that the | max | 2016-10-04 | 1 | -1/+38 | |
|/ / / / | | | | | | | | | | | | | | | | | port number that gets picked for IPv4 is also available on IPv6. If not, start all over for up to ten times to find a port number that is available on both protocols. | |||||
* | | | | Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions ↵ | jan.nijtmans | 2016-06-29 | 1 | -1/+1 | |
|/ / / | | | | | | | | | | which are deprecated. | |||||
* | | | Merge trunk | oehhar | 2014-12-17 | 1 | -25/+25 | |
|\ \ \ | ||||||
| * | | | Remove a number of eol-spaces. No change in functionality. | jan.nijtmans | 2014-11-14 | 1 | -25/+25 | |
| | | | | ||||||
| * | | | fconfigure -peername and -sockname return empty string while async connect ↵ | oehhar | 2014-10-17 | 1 | -6/+26 | |
| |\ \ \ | |/ / / |/| | / | | |/ | |/| | running. | |||||
* | | | Implemented tip-427: socket fconfigure option -connecting plus no ↵ | oehhar | 2014-09-26 | 1 | -7/+27 | |
|/ / | | | | | | | -peername,-sockname when still connecting. | |||||
* | | [1758a0b603] socket_*-2.13 : Workaround the broken select() in some Linux | dgp | 2014-06-16 | 1 | -2/+56 | |
|\ \ | |/ |/| | | | kernels that fails to report a writable state on a socket when an error condition (or remote close) is present. | |||||
* | | Valgrind doesn't like use of uninitialized variables. | dgp | 2014-06-04 | 1 | -1/+1 | |
| | | ||||||
* | | These edits make the tests socket-14.11.[01] stop hanging, but also introduce | dgp | 2014-06-02 | 1 | -5/+3 | |
| | | | | | | a whole raft of test failures. WIP. | |||||
* | | * Give clearer names to some of the state flags and sync them with ↵bug_13d3af3ad5 | max | 2014-04-08 | 1 | -41/+90 | |
| | | | | | | | | | | | | | | 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). | |||||
* | | Rename error to connectError in struct TcpState. | max | 2014-04-07 | 1 | -11/+11 | |
| | | ||||||
* | | Rename CreateClientSocket to TcpConnect | max | 2014-04-07 | 1 | -8/+8 | |
| | | ||||||
* | | * Rework WaitForConnect() to fix synchronous completion of asynchronous ↵ | max | 2014-04-04 | 1 | -30/+24 | |
| | | | | | | | | | | | | connections. * Let TcpInputProc() and TcpOutputProc() fail before calling any I/O syscalls when an asynchronous connection has failed. * Adjust the tests accordingly. | |||||
* | | Make the naming of TcpState variables consistent | max | 2014-04-04 | 1 | -49/+53 | |
| | | ||||||
* | | * More test improvements for async sockets. | max | 2014-03-14 | 1 | -7/+21 | |
| | | | | | | | | * 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. | |||||
* | | * Hide transient errors of the internal iterations of [socket -async] ↵ | max | 2014-03-11 | 1 | -41/+34 | |
| | | | | | | | | | | from the script level. * More tests for corner cases. |