Nim/lib/pure
alaviss 20315637aa
asyncnet, net: don't attempt SSL_shutdown if a fatal error occurred (#15066)
* asyncnet, net: don't attempt SSL_shutdown if a fatal error occurred

Per TLS standard and SSL_shutdown(3ssl). This should prevent errors
coming from a close() after a bad event (ie. the other end of the pipe
is closed before shutdown can be negotiated).

Ref #9867

* tssl: try sending until an error occur

* tssl: cleanup

* tssl: actually run the test

I forgot to make the test run :P

* tssl: run the test on ARC, maybe then it'll be happy

* tssl: turns off ARC, switch tlsEmulation on for freebsd

* tssl: document why tlsEmulation is employed

* net: move SafeDisconn handling logic to socketError
2020-07-30 00:35:02 +02:00
..
collections fixes #14139 (#15107) 2020-07-29 16:18:27 +02:00
concurrency threadpool.nim: minor code style changes 2020-07-18 21:40:57 +02:00
includes fix #14082, don't crash on incorrectly formatted input (#14977) [backport] 2020-07-17 10:59:53 +02:00
ioselects Set O_NONBLOCK flag atomically (#13934) 2020-04-22 20:24:45 +02:00
unidecode fix unidecode.unidecode example input string 2019-04-20 21:10:52 -05:00
algorithm.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
async.nim Unify async macro and futures for js and native targets 2018-01-05 16:40:51 +02:00
asyncdispatch.nim [Backport] Fixes callbacks being dropped on Linux/macOS/BSD. (#15012) 2020-07-19 08:41:36 +02:00
asyncdispatch.nim.cfg
asyncfile.nim ARC works for async on Windows (#13179) 2020-01-17 11:14:17 +01:00
asyncftpclient.nim fix several newline problems (#15028) [backend] 2020-07-21 22:49:08 +02:00
asyncfutures.nim change some Exceptions to CatchableError or Defect, fixes #10288 (#14069) 2020-04-22 16:49:41 +02:00
asynchttpserver.nim Fix asynchttpserver newline breaking content-length (#14565) [backport] 2020-06-06 12:20:11 +02:00
asyncmacro.nim fix #14846; add macros.extractDocCommentsAndRunnables (#14849) 2020-07-01 09:26:23 +02:00
asyncnet.nim asyncnet, net: don't attempt SSL_shutdown if a fatal error occurred (#15066) 2020-07-30 00:35:02 +02:00
asyncstreams.nim fixes #14402 (#14908) 2020-07-08 08:21:55 +02:00
base64.nim Fix style inconsistencies due to the previous commit 2020-07-06 11:24:43 +02:00
bitops.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
browsers.nim enforce browsers.nim only handles URLs [backport] (#15045) 2020-07-23 11:03:39 +02:00
cgi.nim fix #14082, don't crash on incorrectly formatted input (#14977) [backport] 2020-07-17 10:59:53 +02:00
colors.nim fixed #14839 (#14840) 2020-06-28 13:38:57 +02:00
complex.nim [backport] fix #12528, fix #12525: incorrect generic type resolution for default values (#12538) 2019-10-28 16:56:38 +01:00
cookies.nim make more tests green 2018-04-30 02:52:58 +02:00
coro.nim #12103 - CI for OpenBSD (#12105) 2020-04-21 15:05:21 +02:00
coro.nimcfg
cstrutils.nim Clarify JS cstring len (#14184) 2020-05-05 10:34:37 +02:00
db_common.nim [backport] run nimpretty on the remaining files 2019-09-30 13:58:17 +02:00
distros.nim Fix OS detection in a docker container (#13172) 2020-04-22 07:49:42 +02:00
dynlib.nim [backport] run nimpretty on os-related stuff 2019-09-30 13:58:15 +02:00
encodings.nim encodings: use only one iconv definition [backport:1.2] (#14741) 2020-06-21 19:28:03 +02:00
endians.nim [backport] run nimpretty on os-related stuff 2019-09-30 13:58:15 +02:00
fenv.nim Deprecate DCE:on (#13839) 2020-04-02 02:58:43 +02:00
future.nim renamed future.nim to sugar.nim 2018-04-06 11:59:49 +02:00
hashes.nim Fix #14394 (#14395) 2020-05-18 17:43:06 +01:00
htmlgen.nim => supports pragmas & names (+ changed behavior) (#14200) 2020-05-03 10:22:49 +02:00
htmlparser.nim [backport] run nimpretty on parsers 2019-09-30 13:58:08 +02:00
httpclient.nim fix several newline problems (#15028) [backend] 2020-07-21 22:49:08 +02:00
httpcore.nim httpcore: Add http code 308 Permanent Redirect (#14639) 2020-06-12 10:16:38 +02:00
json.nim json.nim: smaller init size (#15048) 2020-07-23 15:42:12 +02:00
lenientops.nim fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + other fixes (#13550) 2020-03-13 20:42:41 +01:00
lexbase.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
logging.nim fix index error (#14974) 2020-07-14 13:15:22 +02:00
marshal.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
math.nim fix #15033 (#15034) 2020-07-22 10:30:46 +02:00
md5.nim [backport] run nimpretty on hashes 2019-09-30 13:58:10 +02:00
memfiles.nim fixes #14760 (#14769) 2020-06-23 15:17:17 +02:00
mersenne.nim Add Documentation (#13811) 2020-03-31 15:47:57 +02:00
mimetypes.nim Add Documentation (#13811) 2020-03-31 15:47:57 +02:00
nativesockets.nim fix docs for nativesocket read/write selects (#15010) 2020-07-18 16:39:41 +02:00
net.nim asyncnet, net: don't attempt SSL_shutdown if a fatal error occurred (#15066) 2020-07-30 00:35:02 +02:00
nimprof.nim fix deprecations and other warnings (#13748) 2020-03-25 19:15:34 +01:00
nimprof.nim.cfg
nimtracker.nim make memory tracker work without onThreadCreation 2017-03-14 15:45:35 +01:00
oids.nim [backport] run nimpretty on hashes 2019-09-30 13:58:10 +02:00
options.nim Change UnpackError with UnpackDefect (#14457) 2020-05-27 08:34:13 +02:00
os.nim deprecate existsDir; use dirExists instead (#14884) 2020-07-03 23:04:23 +02:00
osproc.nim Fix #14906 (#14949) 2020-07-18 10:41:33 +02:00
oswalkdir.nim fix #11458 oswalkdir (#13689) 2020-03-19 10:23:05 +01:00
parsecfg.nim Fix typo for literal [ (#13243) 2020-01-24 08:42:03 +00:00
parsecsv.nim parsecsv: fix '\0' being displayed as '0' in docs (#15086) [backport] 2020-07-27 08:17:23 +02:00
parsejson.nim fixed to jsonArrayEnd comment. (#13624) 2020-03-11 08:26:10 +01:00
parseopt.nim fix #13086 (#14987) 2020-07-15 03:46:17 -04:00
parsesql.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
parseutils.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
parsexml.nim fixes #13946 (#14302) 2020-05-11 19:12:40 +02:00
pathnorm.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
pegs.nim [backport] Docs: Fix broken code-block (#14749) 2020-06-22 08:12:50 +02:00
punycode.nim Add Documentation (#13811) 2020-03-31 15:47:57 +02:00
random.nim added normal variate function (#14725) 2020-06-22 20:48:33 +02:00
rationals.nim Remove the uses of {.procvar.} pragma (#14359) 2020-05-15 23:37:24 +02:00
reservedmem.nim Deprecate and/or remove ospaths (#14767) 2020-06-23 10:51:33 +02:00
ropes.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
segfaults.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
selectors.nim Remove deprecated stuff from stdlib (#14699) 2020-06-17 15:25:02 +02:00
smtp.nim smtp: Fix STARTTLS, request HELO once TLS is established (#15032) 2020-07-22 00:30:33 -04:00
smtp.nim.cfg revert moving oids and smtp to graveyard 2019-01-11 08:51:19 +01:00
ssl_certs.nim deprecate existsDir; use dirExists instead (#14884) 2020-07-03 23:04:23 +02:00
ssl_config.nim net: use a secure cipher list by default 2020-06-06 21:11:53 +02:00
stats.nim Documentation, add more examples (#13825) 2020-04-01 19:39:58 +02:00
streams.nim move since from inclrtl to std/private/since (#14188) 2020-05-02 23:51:59 +02:00
streamwrapper.nim Fix #14906 (#14949) 2020-07-18 10:41:33 +02:00
strformat.nim add docs and more tests for debug format strings (#14861) 2020-07-08 22:21:30 +02:00
strmisc.nim Remove the uses of {.procvar.} pragma (#14359) 2020-05-15 23:37:24 +02:00
strscans.nim fix a few dead links and a missing sentence in documentation (#12387) 2019-10-08 15:24:34 -04:00
strtabs.nim toJson, jsonTo, json (de)serialization for custom types; remove dependency on strtabs thanks to a hooking mechanism (#14563) 2020-06-08 10:35:23 +02:00
strutils.nim Fix #11352 strutil.insertSep() fails on negative numbers (#15087) 2020-07-28 11:47:22 +02:00
sugar.nim Fix sugar.dump: It doesn't work correctly with compile time expression (#14580) 2020-06-08 10:28:42 +02:00
terminal.nim Fix #12759 (#14967) 2020-07-12 03:31:03 -04:00
times.nim fix mistake in times.nim docs 2020-07-07 22:57:06 +02:00
typetraits.nim typetraits: features and fixes (#14791) 2020-06-30 15:25:53 +02:00
unicode.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
unittest.nim Clean up macros (#14959) 2020-07-14 16:44:56 +02:00
uri.nim fix #14082, don't crash on incorrectly formatted input (#14977) [backport] 2020-07-17 10:59:53 +02:00
volatile.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
xmlparser.nim [backport] run nimpretty on parsers 2019-09-30 13:58:08 +02:00
xmltree.nim move since from inclrtl to std/private/since (#14188) 2020-05-02 23:51:59 +02:00