Commit Graph

43 Commits

Author SHA1 Message Date
cheatfate b231e7ebf8 Fix compilation errors. 2018-06-15 03:58:17 +03:00
cheatfate a0c724e9d8 Fix Windows/Unix behavior on datagram CONNRESET.
Add test for CONNRESET
2018-06-15 03:28:02 +03:00
cheatfate 708e581c62 One more initTAddress(). 2018-06-14 10:15:31 +03:00
cheatfate 525aaf6837 Comment out asyncmacro2 skipStmtList().
Many changes in datagram.nim.
Fixed testdatagram.nim.
Fixed testserver.nim.
2018-06-14 09:49:59 +03:00
cheatfate 978203691e Add `var` arguments to GC procedures, to disallow runtime exceptions. 2018-06-11 23:50:45 +03:00
cheatfate d2b93f309b Fix createStreamServer[T]().
Add test for bug with createStreamServer[T]().
2018-06-11 22:54:08 +03:00
cheatfate 3d6ce0f509 Fix asyncmacro2.nim to follow latest changes on upstream.
Fix unix acceptLoop started on server creation.
2018-06-11 10:16:08 +03:00
cheatfate 5815897de6 Fix windows asyncLoop.
Fix OSError -> TransportOSError.
Add inherited objects initialization.
Add tests for inherited objects.
2018-06-11 02:08:17 +03:00
cheatfate 0ee9a148c7 Fix for TransportAddress resolveTAddress behavior.
Added more tests for TransportAddress.
2018-06-10 03:55:19 +03:00
cheatfate de7e0f41e9 Fix connect() bug. 2018-06-07 22:07:17 +03:00
cheatfate 3ad36cc4c1 Fix duplicates in getAddrInfo(). 2018-06-07 21:27:39 +03:00
cheatfate 349bdd5cdf Fixed bug in stop StreamServer, when it not started yet.
Fixed some arguments' types.
2018-06-07 11:05:06 +03:00
cheatfate 48880c6e4e Fix all().
Add getUserData(server: StreamServer)
2018-06-07 09:17:59 +03:00
cheatfate a5be5303e3 Add resolveTAddress(string, Port) and test for it. 2018-06-07 01:15:31 +03:00
cheatfate 14124cf188 Fix Unix compilation error. 2018-06-07 00:35:32 +03:00
cheatfate 38f30e0f18 Added createStreamServer() for GC userdata types. 2018-06-07 00:29:37 +03:00
cheatfate 7fda9936d8 Removed unnecessary includes and comments. 2018-06-06 01:48:03 +03:00
cheatfate b8e8d96f3b Fix datagram: for send/sendTo (string, seq[T]) versions.
Fix stream: for write (string, seq[T]) versions
More tests for both datagram/stream.
2018-06-05 23:21:07 +03:00
cheatfate 3cb521c920 Add datagram transport utility templates send(string) send(seq[byte]).
Fix bugs in stream.nim
Add more tests for stream.nim
2018-06-05 08:51:59 +03:00
cheatfate 2b8eeef7aa Added templates write(string), write(seq[byte])
Added consume()
Added tests for write(string), write(seq[byte]), consume().
2018-06-04 19:42:54 +03:00
cheatfate f4d4d57ccf Fix for stream.nim double completion. 2018-06-04 13:40:41 +03:00
cheatfate a834cb1a00 Changed server behavior.
Removed pause function.
Updated testserver.
2018-06-04 12:57:17 +03:00
cheatfate 2758abd7a6 Fix datagram bugs.
Make changes to asyncloop according to zahary review.
2018-06-04 03:54:17 +03:00
cheatfate 687054219d Combine duplicates. 2018-06-03 02:03:48 +03:00
cheatfate 960b675d62 Changed TransportAddress API.
Introduced resolveTAddress().
Added TransportAddress tests.
2018-06-02 17:25:26 +03:00
cheatfate 027e7c02a9 Added DatagramServer.
Changed StreamServer API a bit.
Added test for DatagramServer.
2018-05-31 11:03:58 +03:00
Zahary Karadjov b77e0417bc reviewed most of the code 2018-05-29 21:45:50 +03:00
cheatfate 758388f7fc Fix compilation error. 2018-05-29 14:22:53 +03:00
cheatfate 3fb9a91cbe Investigated Transport close bug and fixed it.
Removed old integrated tests and hexdump
Removed trailing whitespaces.
2018-05-29 12:59:39 +03:00
cheatfate 5529fc4669 Updated README.
Updated documentation.
2018-05-29 02:35:15 +03:00
cheatfate e3171a132a Add more documentation.
Add (#7197) test.
2018-05-27 08:49:47 +03:00
cheatfate 4f70cb3515 Fix loop behavior. 2018-05-23 14:03:18 +03:00
cheatfate a8212e8910 Added timers test. 2018-05-23 01:29:07 +03:00
cheatfate 874fe9b5fd Added some comments. 2018-05-23 00:03:13 +03:00
cheatfate 898e3602bd One more attempt to fix GC bug. 2018-05-22 19:27:20 +03:00
cheatfate d28e4d0c49 Enable all tests.
Adding more iterations for UDP stream test.
Fixed bugs in TCP stream.
2018-05-22 18:21:58 +03:00
Your Name 23a81b6492 Refactoring, more tests. 2018-05-22 00:52:57 +03:00
Your Name 5c6c723cb9 Fix nasty GC misuse bug 2018-05-18 02:40:42 +03:00
Your Name 570467a306 Attempts to fix #01 2018-05-17 11:45:18 +03:00
cheatfate 868ae64ae0 Fix compilation warning at asyncfutures2.nim
Add spawn procedure
Add usage of spawn procedure in datagram.nim
Some fixes at stream.nim
Increase number of clients in testdatagram.nim
2018-05-16 18:28:23 +03:00
cheatfate bb36fc98a4 Fix [SYSASSERT] genericResetAux on Windows part. 2018-05-16 15:29:19 +03:00
cheatfate c90eebf821 Add ServerFlags for datagram transport on Windows. 2018-05-16 11:28:44 +03:00
cheatfate 4d144753ee Initial commit 2018-05-16 11:22:34 +03:00