fix #16506 by changing the example (#16580)
Co-authored-by: Andreas Rumpf <rumpf_a@web.de> (cherry picked from commit d2f4f25)
Fix Httpclient headers from being modified accidentally (#17808)
(cherry picked from commit f1ce173)
Fix buffer-overrun bug in net (#17728) [backport:1.0]
(cherry picked from commit fdd4391)
CIs: attempt to use csources_v1 (#16282)
* CIs: attempt to use csources_v1 * also updated the BSDs * also updated azure pipelines * std modules should not itself use the 'std/' import dir... * compiler has to be careful with std/ for v1 booting (cherry picked from commit a9b62de)
Check for errors after sendPendingSslData (#16696)
* Check for errors after sendPendingSslData * Leftover comment removed (cherry picked from commit 165d397)
Signed-off-by: Dankr4d <dude569@freenet.de> (cherry picked from commit 6916faf)
* ORC: improvements * ORC: fix .acyclic annotation for ref objects (cherry picked from commit 39ad9a6)
* ORC: progress * ORC: bugfix; don't follow acyclic data even if only at runtime the subtype is marked as acyclic * progress * minor style changes (cherry picked from commit 3bc625a)
ARC: fixes memory leaks with newSeq used in a loop [backport:1.4] (#1…
asyncdispatch+stackTraceOverride: fix premature collection (#18039) […
…backport:1.2] Copying StackTraceEntry instances when nimStackTraceOverride is defined breaks the link between a cstring field that's supposed to point at another string field in the same object. Sometimes, the original object is garbage collected, that memory region reused for storing other strings, so when the StackTraceEntry copy tries to use its cstring pointer to construct a traceback message, it accesses unrelated strings. This only happens for async tracebacks and this patch prevents that by making sure we only use the string fields when nimStackTraceOverride is defined. Async tracebacks also beautified slightly by getting rid of an extra line that was supposed to be commented out, along with the corresponding debugging output. There's also a micro-optimisation to avoid concatenating two strings just to get their combined length. (cherry picked from commit a1c82c3)