Commit Graph

  • 8a3b069688
    Fix compilation error. cheatfate 2021-07-28 13:57:40 +03:00
  • 75ca10117e
    Add Accept header handling to httpserver.nim. Add simple test suite. Bump version to 3.0.6. cheatfate 2021-07-28 12:53:48 +03:00
  • dc633b81a8 Add ServerFlag to control dualstack behaviour Johann Bauer 2021-07-27 17:59:40 +02:00
  • 3a9cc6bfc9
    Update toIPv4 and toIPv6 to keep the port (#209) Johann Bauer 2021-07-27 13:39:48 +02:00
  • ee9a9e0c26
    Update toIPv4 and toIPv6 to keep the port Johann Bauer 2021-07-26 20:58:42 +02:00
  • 5b2f564b92
    Fix AsyncStream's race condition issue revealed by new cancellation. cheatfate 2021-07-13 03:16:11 +03:00
  • b695bbe9d1
    Remove unused imports. cheatfate 2021-07-12 15:23:00 +03:00
  • 6e8668e87c
    Change asyncstream close/closeWait() algorithm. Add awaitrc() which will ignore Cancellation. Add tests of awaitrc() call to test suite. Add tracker's dump to http server's test. Fix httpserver, httpclient issues introduced by new cancellation behavior. Deprecate ignoreCancel() template. Add HttpBodyReader/Writer states, which should help to resolve issues related to new cancellation. cheatfate 2021-07-12 15:22:03 +03:00
  • e6907a81d3
    ignoreCancel template. cheatfate 2021-07-08 21:33:24 +03:00
  • 0bf051b8a9
    Fix Futures leaks because of new cancellation behavior. cheatfate 2021-07-08 18:11:58 +03:00
  • be1f3263c6
    Forgot to add testcancel.nim cheatfate 2021-07-08 16:19:46 +03:00
  • ce74e9420a
    Fix cancellation race when one of the ancestors are already Finished/Failed/Cancelled. Add tests for this behavior. Move cancellation tests from testfut.nim to testcancel.nim. Fix cancellation tests to follow new behavior. Fix HTTP server to follow new cancellation behavior. Add one more HTTP client test cheatfate 2021-07-08 14:01:02 +03:00
  • 14ebf269e9
    Fix accept defect (#206) Eugene Kabanov 2021-06-30 18:22:37 +03:00
  • 1a53d3674a
    Check for retFuture state before changing it state. cheatfate 2021-06-29 17:51:54 +03:00
  • 4f5add558f
    Do not close pipe twice. cheatfate 2021-06-29 17:33:14 +03:00
  • 9ed4f10653
    Fix accept() FutureDefect on cancellation. cheatfate 2021-06-29 17:31:59 +03:00
  • 15137f71c3
    Basic authorization implementation for HTTP client. (#204) Eugene Kabanov 2021-06-29 02:38:08 +03:00
  • c31c49d53f
    Bump chronos version to 3.0.5. cheatfate 2021-06-29 01:34:47 +03:00
  • cf06b488dd add getData to kqueue,epoll bung87 2021-06-29 05:46:34 +08:00
  • aef81b3402
    Basic authorization implementation for HTTP client. Add tests for basic authorization. cheatfate 2021-06-28 21:50:59 +03:00
  • a2efffc1a9 use slim test bung87 2021-06-19 14:28:14 +08:00
  • f7dd6b76c2
    Safely close connection's streams. (#199) Eugene Kabanov 2021-06-14 15:16:33 +03:00
  • 091b25f320
    Safely close connection's streams. cheatfate 2021-06-14 12:47:01 +03:00
  • e6fd38fd49
    Add one more state Closing to help avoid race condition while in closeWait of request, response, connection. (#198) Eugene Kabanov 2021-06-10 13:58:41 +03:00
  • 0502ebfe45
    Add one more state Closing to help avoid race condition while in closeWait of request, response, connection. cheatfate 2021-06-10 13:03:59 +03:00
  • 3bf96d3c03
    add shortcuts to create completed futures Jacek Sieka 2021-05-27 10:44:33 +02:00
  • 252e5d0d50
    simplify future tests (#196) Jacek Sieka 2021-06-04 12:28:04 +02:00
  • 297fa45ca1
    simplify future tests Jacek Sieka 2021-05-27 10:44:33 +02:00
  • a46cc59627
    fix web framework name Looper -> Scorper (#189) Pietro Peterlongo 2021-05-27 10:53:11 +02:00
  • 84ae991a9b add initDuration,convert,toParts,DurationZero for std compatibility bung87 2021-05-21 07:58:06 +08:00
  • 7ccb170f7a
    Enable comma as array delimiter and adding tests. (#191) Eugene Kabanov 2021-05-17 22:39:24 +03:00
  • b274502bc8
    Bump version to 3.0.4. cheatfate 2021-05-17 21:11:22 +03:00
  • f7bc8ccd9c
    Enable comma as array delimiter and adding tests. cheatfate 2021-05-17 18:27:42 +03:00
  • ea40f6b1cf
    fix web framework name Looper -> Scorper Pietro Peterlongo 2021-05-11 10:50:33 +02:00
  • 67f0f1224f
    Bump nimble version. Make some useful fields public. cheatfate 2021-05-10 10:40:56 +03:00
  • be184a815c
    Httpclient (#182) Eugene Kabanov 2021-05-10 10:26:36 +03:00
  • 5a3e97f730
    Add redirection support to client and server. Add fetch(url) procedure with redirection support. Add tests for redirection. cheatfate 2021-05-08 10:02:04 +03:00
  • 87707635b1
    Fix response state management and leaks for getBodyXXX() procedures. cheatfate 2021-05-06 08:51:47 +03:00
  • ee6107bd14
    Fix tests big message generation. cheatfate 2021-04-27 00:16:44 +03:00
  • ede04824ba
    Post rebase fixes. cheatfate 2021-04-26 19:06:11 +03:00
  • abe2ac9786
    Some fixes in multipart. Fix automatic Content-Length header for requests with body. Fix getBodyBytes() assertions. Merging tests to main suite. cheatfate 2021-04-21 17:30:10 +03:00
  • f14a4e7964
    Fixed tests Add http leaking trackers and tests. cheatfate 2021-04-21 02:44:23 +03:00
  • 99ddb91f5b
    Missing test file. cheatfate 2021-04-20 21:57:33 +03:00
  • 9f1bb8c3ca
    Changes in state machine Add first test. cheatfate 2021-04-20 21:57:09 +03:00
  • eaf23ece3f
    Add closeWait for response and request. Refactor finish/close flow. cheatfate 2021-04-20 11:00:23 +03:00
  • 47e8f23933
    send() and getBodyBytes() implementations. cheatfate 2021-04-19 22:54:50 +03:00
  • 2425a4c25c
    Allow boundstream to accept uint64. Fix httpserver and asyncstream tests to follow new uint64 requirement. cheatfate 2021-04-19 02:39:50 +03:00
  • 22b1d975c5
    Some refactoring. cheatfate 2021-04-18 22:03:55 +03:00
  • 12f0bf6bbe
    Initial commit. cheatfate 2021-04-13 17:39:51 +03:00
  • d270dba8a3
    Fix unused warnings, result, asyncCheck and 80 cpl (#185) Eugene Kabanov 2021-05-07 23:52:24 +03:00
  • 62ffda2569
    Fix handles for Unix platforms. cheatfate 2021-05-07 19:18:37 +03:00
  • 994537e898
    Fix sources to follow 80 characters per line. Fix unused compilation warnings. Refactor (remove result) handles.nim. Fix tests to use asyncSpawn instead of asyncCheck. cheatfate 2021-05-07 19:14:02 +03:00
  • fed6b0ac92
    Restore functionality of zero-sized bounded reader/writer streams. (#184) Eugene Kabanov 2021-05-07 18:52:44 +03:00
  • 04364053c7
    run build_nim.sh unconditionally Ștefan Talpalaru 2021-05-07 16:23:08 +02:00
  • 23153e1fa0
    Restore functionality of zero-sized bounded reader/writer streams. Adding tests for it. cheatfate 2021-05-07 17:12:28 +03:00
  • c15c985c1f
    support nimStackTraceOverride (#181) Ștefan Talpalaru 2021-05-06 09:49:55 +02:00
  • 43b8aada20
    Add message to task failure message (#183) Jacek Sieka 2021-05-06 09:46:58 +02:00
  • 80cb7594f6
    Add message to task failure message Jacek Sieka 2021-05-06 09:10:34 +02:00
  • 645d62db78
    Remove fastpath execution and finally fix issue. cheatfate 2021-04-27 00:07:49 +03:00
  • 6ddace17c8
    support nimStackTraceOverride Ștefan Talpalaru 2021-04-26 21:43:12 +02:00
  • 39f4060e07
    Refactor and optimization of BoundedStream. (#180) Eugene Kabanov 2021-04-26 14:05:37 +03:00
  • 1648451e71
    Refactor and optimization of BoundedStream. Documentation for BoundedStream. Fix HttpServer bounding. cheatfate 2021-04-26 13:15:13 +03:00
  • 833d968782
    Fix upload() issue and adding tests. (#179) Eugene Kabanov 2021-04-24 20:32:21 +03:00
  • 63e23e2af6
    Fix upload() issue and adding tests. cheatfate 2021-04-24 20:01:55 +03:00
  • 7389cfc60b
    Remove CPP from CI testing matrix. cheatfate 2021-04-22 15:37:52 +03:00
  • e6ba00cb81
    Fix reading could stuck on very big chunked headers and tests. (#178) Eugene Kabanov 2021-04-22 15:32:28 +03:00
  • 25a766fa72
    Fix reading could stuck on very big chunked headers and tests. cheatfate 2021-04-22 15:00:16 +03:00
  • aab1e30a72
    Refactor common.nim and add more resolve procedures. (#177) Eugene Kabanov 2021-04-10 00:39:54 +03:00
  • 12b05dd865
    Bump version to 3.0.2. cheatfate 2021-04-09 19:08:35 +03:00
  • 1e59f7f5ec
    Refactor common.nim to remove result usage. Fix comparison of TransportAddress issue. Add resolveTAddress procedures for both IPv4 and IPv6 addresses. Fix tests. cheatfate 2021-04-09 17:02:44 +03:00
  • 895fc53193
    add explicit gcsafe annotations (fixes #174) (#175) Jacek Sieka 2021-04-03 10:05:08 +02:00
  • f1707ba7b9
    add explicit gcsafe annotations (fixes #174) Jacek Sieka 2021-04-03 08:54:33 +02:00
  • e5d3ecdd01
    Ensures that asyncmacro2 does not raise exceptions (#172) markspanbroek 2021-03-30 16:48:20 +02:00
  • 0f12ca8d32 Remove unnecessary include Mark Spanbroek 2021-03-30 16:25:11 +02:00
  • ef3ee295bc Ensures that asyncmacro2 does not raise exceptions Mark Spanbroek 2021-03-30 12:12:25 +02:00
  • 6a025bdc6f please Nim 1.4+ compiler narimiran 2021-03-29 15:39:33 +02:00
  • 075b7abf4c
    fix Defect check in non-strict mode (#170) Jacek Sieka 2021-03-25 15:53:33 +01:00
  • c206d2bc19
    Add raises annotation to withTimeout callbacks (#168) Kim De Mey 2021-03-25 14:20:26 +01:00
  • 30dca7a8a1
    Add raises annotation to withTimeout callbacks kdeme 2021-03-24 16:45:01 +01:00
  • e08deb47c2
    fix Defect check in non-strict mode Jacek Sieka 2021-03-25 11:54:47 +01:00
  • 4abd7a5645
    exception tracking (#166) Jacek Sieka 2021-03-24 10:08:33 +01:00
  • fa127e9160
    fix AsyncCheck for non-void T Jacek Sieka 2021-03-23 19:42:56 +01:00
  • cebdf6f4b1
    add feature flag for strict exception mode Jacek Sieka 2021-03-22 21:48:50 +01:00
  • 01a1025b6e
    docs, platform-independent eh specifiers for some functions Jacek Sieka 2021-03-22 16:22:03 +01:00
  • 9e1f335ff6
    fixes Jacek Sieka 2021-03-22 10:57:54 +01:00
  • 4c514e7865
    exception tracking Jacek Sieka 2021-03-14 17:48:52 +01:00
  • b964ba2966
    Update README (#167) Jacek Sieka 2021-03-20 08:12:35 +01:00
  • 759a8a0fac
    Update README Jacek Sieka 2021-03-19 15:18:24 +01:00
  • 6a03da6529
    Merge 491ddff2a2385d8982e86c72e631f9e58bf669e4 into c8eefb9382a786993fc703386b0bd446ecf9c037 Eugene Kabanov 2021-03-18 10:30:10 +03:00
  • c8eefb9382
    Split HTTPS and HTTP servers. (#165) Eugene Kabanov 2021-03-17 15:40:40 +02:00
  • 6fa3c8faca
    Fix review commens cheatfate 2021-03-13 12:50:36 +02:00
  • da352a5645
    Split HTTPS and HTTP servers. cheatfate 2021-03-11 16:38:53 +02:00
  • 0b78606e41
    Add server and host headers handling. (#164) Eugene Kabanov 2021-03-11 13:41:13 +02:00
  • fb27d5954a
    Add server and host headers handling. Fix response headers generation to avoid unnecessary computations. cheatfate 2021-03-09 16:58:15 +02:00
  • f774644129
    Fix integer decoding overflow issue. (#163) Eugene Kabanov 2021-03-06 00:22:32 +02:00
  • 1d029f1b68
    Fix integer decoding overflow issue. Switch to stew.base10 procedures. Adjust tests to follow new behavior. Bump version to 2.6.1. cheatfate 2021-03-05 22:37:15 +02:00
  • 1324b2f787
    Enable --gc:orc testing for nim-chronos (#161) Andreas Rumpf 2021-03-03 19:04:09 +01:00
  • 1243aef627
    Bump chronos version to 2.6.0. cheatfate 2021-03-02 15:27:42 +02:00
  • c31e4537fe
    Fix contentType handling code. (#162) Eugene Kabanov 2021-03-02 15:26:07 +02:00
  • b60a35f4a2
    Fix contentType handling code. Add more respond() aliases. Add responded() to check if response is already sent. cheatfate 2021-03-02 14:56:18 +02:00