summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Fix bug [581937ab1e]: fire readable event on async socket connect failureoehhar2014-04-022-33/+57
|\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Fix bug [581937ab1e]: fire readable event on async socket connect failurebug_581937ab1eoehhar2014-04-022-33/+57
| |\ \ \ \ \ \ \ \ |/ / / / / / / / / | | | _ / / / / / | | | / / / / /
| * | | | | | | Fire also readable event on final async connect failure. Armor ↵oehhar2014-03-241-45/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WaitForSocketEvent by access signal against notifier thread access.
| * | | | | | | Be sure tsd pointer to the info structure is invalidated before memory freeoehhar2014-03-231-1/+20
| | | | | | | |
| * | | | | | | WaitForConnection like tclUnixSock.c, new option [fconfigure -connecting]oehhar2014-03-141-42/+34
| | | | | | | |
| * | | | | | | file tclWinSock.c reorganized to minimize diff to tclUnixSock.c. No ↵oehhar2014-03-141-1455/+1498
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functional change
| * | | | | | | Remove writable shortcut and errorneous workaround to get [connect -async] ↵oehhar2014-03-141-18/+18
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | fail error to [fconfigure -error]
| | * | | | | | | Remove writable shortcut and errorneous workaround to get [connect -async] ↵bug_13d3af3ad5_forkoehhar2014-03-141-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fail error to [fconfigure -error]
| * | | | | | | | * More test improvements for async sockets.max2014-03-142-26/+47
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | | | | | | Async connect terminates: fire fileevent by setting readyEvent, propage ↵oehhar2014-03-141-52/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit fail message to [fconfigure -error]
| * | | | | | | * Hide transient errors of the internal iterations of [socket -async] ↵max2014-03-112-46/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the script level. * More tests for corner cases.
| * | | | | | | No [fconfigure -error] error in connect process; gets after failed async ↵oehhar2014-03-111-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connect returns connect error
| * | | | | | | WaitForConnect may only call back to CreateClientSocket when the socket is ↵max2014-03-102-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | Additional security for wrong pointeroehhar2014-03-101-0/+6
| | | | | | | |
| * | | | | | | Fire write fileevent if async connect fails finally (test socket-14.2)oehhar2014-03-101-2/+12
| | | | | | | |
| * | | | | | | Also continue async connect without event loop if gets/puts is called (test ↵oehhar2014-03-101-22/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | socket-14.8.*)
| * | | | | | | Workaround if FD_CONNECT notification comes before socket list registration ↵oehhar2014-03-101-80/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in TcpThreadActionProc
| * | | | | | | * tclUnixSock.c: Fix WaitForConnect() for client sockets that have to try ↵max2014-03-102-29/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more than one address. * socket.test: Extend and improve tests for [socket -async] * socket.test: Add latency measuring and calculation for Windows.
| * | | | | | | Still incomplete info structure in event proc: try to protect with locks ↵oehhar2014-03-071-12/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (unsuccesful). Probably locks in accept socket creation missing.
| * | | | | | | More debug to chase different fd in struct than in callbackoehhar2014-03-062-53/+46
| | | | | | | |
| * | | | | | | Terminate async connect synchronously by any blocking operationoehhar2014-03-061-12/+104
| | | | | | | |
| * | | | | | | "gets" blocked after async cannect: SOCKET_ASYNC_CONNECT was not clearedoehhar2014-03-051-12/+12
| | | | | | | |
| * | | | | | | Refactor the error handling logic around connect()max2014-03-051-20/+17
| | | | | | | |
| * | | | | | | avoid warnings about uninitialized infoPtr in DEBUGmax2014-03-051-2/+2
| | | | | | | |
| * | | | | | | Print out the value of infoPtr in DEBUG, so that coexisting sockets can be ↵max2014-03-051-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | distinguished in the output.
| * | | | | | | Next async connect try works. Reset error and move notifier before connect.oehhar2014-03-051-11/+12
| | | | | | | |
| * | | | | | | * Use watchEvents only for read/write/close events of [chan event], don't ↵max2014-03-041-63/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mix with internal use of accept and connect events. * WIP: Refactor the tail of CreateClientSocket() to get notifications for completed async connects right.
| * | | | | | | Reverted move of WSAAsyncSelect before connect -> FD_Connect message does ↵oehhar2014-03-041-18/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also fire if it exists on call.
| * | | | | | | WIP: async open event now passes to SocketEventProc() and connects but does ↵oehhar2014-03-031-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not finalyze that (I guess).
| * | | | | | | Make printf debugging switchable, because it affects 'make test'max2014-02-281-1/+8
| | | | | | | |
| * | | | | | | Broken intermediate state.max2014-02-282-146/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling back to CreateClientSocket() from the event loop works, but the final failed or succeeded state of an asyncronous socket does not get notified to the channel correctly.
| * | | | | | | Merge trunkmax2014-02-2675-2213/+4113
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ merge trunkmax2013-11-184-10/+9
| |\ \ \ \ \ \ \ \
| * | | | | | | | | To prepare for completion of the [socket -async] implementation on Windows ↵max2013-11-181-165/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [13d3af3ad5]: * Move the server code from CreateSocket to Tcl_OpenTcpServer. * Rename CreateSocket to CreateClientSocket. * Unify the naming convention of socket channels with Unix (sock + hex representation of the state/info structure).
* | | | | | | | | | Fix bug [336441ed59]: Win socket stall on quick termination of async socket ↵oehhar2014-04-022-78/+184
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | / / | | |_|_|_|_|_|/ / | |/| | | | | | | connect
| * | | | | | | | Test to demonstrate bug [336441ed59]. Depends on timing and will not always ↵oehhar2014-04-021-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fire but is better than nothing. Reliable for me.
| * | | | | | | | Set all variables written by the notifier thread as volatile.oehhar2014-04-021-4/+6
| | | | | | | | |
| * | | | | | | | Be shure tsd pointer to the info structure is invalidated before memory freeoehhar2014-03-231-7/+28
| | | | | | | | |
| * | | | | | | | Bug [336441ed59]: Buffer infoPtr between socket creation and insertion into ↵oehhar2014-03-221-73/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | info structure in thread local memory. Backported fix from commit [65b320b464] from branch "bug-[13d3af3ad5]".
| | | | | * | | | Add missing @TCL_LIB_FLAG@ to tcl.pc.in (derived from ticket [5bcb5026ad])jan.nijtmans2014-03-311-1/+1
| | | | | |\ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | |
* | | | | | | | | Cherry-pick [c54059aaad] from trunk: Added support for reporting TEA-like ↵jan.nijtmans2014-03-314-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | info via pkg-config. Add missing @TCL_LIB_FLAG@ (derived from ticket [5bcb5026ad])
| | | | | * | | | Merge minimal fix for iocmd-23.11.dgp2014-03-283-12/+31
| | | | | |\ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Note that top channel regeneration is removed, so that Preserve/Release call pairs are sure to operate on the same pointers. Other bug fixes may need to change that.
* | | | | | | | | Minimal patch to fix iocmd-23.11. Might not be the best fix, but is *a* fix.dgp2014-03-273-5/+23
| | | | | | | | |
| | | | | * | | | Test iocmd-23.11 demos another segfault.dgp2014-03-271-0/+15
| | | | | |\ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | |
* | | | | | | | | Test iocmd-23.11 demos another segfault.dgp2014-03-271-0/+15
| | | | | | | | |
| | | | | * | | | Test iogt-2.4 is another segfault demo for [721ec69271].dgp2014-03-271-0/+35
| | | | | |\ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | |
* | | | | | | | | Test iogt-2.4 is another segfault demo for [721ec69271].dgp2014-03-271-0/+33
|/ / / / / / / /
| | | | * | | | New test iortrans-4.8.1 exposes segfault bug [721ec69271].dgp2014-03-271-0/+19
| | | | | | | |
| | | | * | | | Implement RFE [b42b208ba4]: file attributes -readonly (and -archive, ↵jan.nijtmans2014-03-263-17/+177
| | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | -hidden, -system) on Cygwin.
| | | | | * | | | Only write back file attributes if any of them really changed.rfe_b42b208ba4jan.nijtmans2014-03-262-15/+15
| | | | | | | | |