summary refs log tree commit diff stats
path: root/tests/stdlib/tnet.nim
Commit message (Collapse)AuthorAgeFilesLines
* stdlib tests now check refc too (#21664)ringabout2023-04-211-0/+1
| | | | | | | | | | | * stdlib tests now check refc too * typo * fixes line numbers * disable cpp * do not touch
* make more standard libraries work with `nimPreviewSlimSystem` (#20343)ringabout2022-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
* enable style:usages for stdlib tests [backport: 1.6] (#19715)flywind2022-04-131-1/+1
| | | | | | | | | | | | | | | * enable style:usages for stdlib tests * freeAddrInfo * more tests * importc * bufSize * fix more * => parseSql and renderSql
* Only allow IPv4 literals in strict form (#18656)Christian Ulrich2021-08-081-0/+35
| | | | | | | | | | | | | * Only allow IPv4 literals in strict form The strict form as defined in RFC 6943, section 3.1.1 only allows the dotted form ddd.ddd.ddd.ddd of IPv4 literals, where ddd is a one to three digit decimal number between 0 and 255. Until now octal numbers (with a leading zero) were interpreted as decimal numbers which has security implications, see CVE-2021-29922 and CVE-2021-29923. * Update lib/pure/net.nim Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* remove some noises in tests (#16448)flywind2020-12-271-15/+15
|
* activated more tests, allow input in test specArne Döring2018-11-231-0/+4
|
* Convert *_family fields to cushortLemonBoy2018-09-191-2/+2
| | | | Fixes #9008
* Fixed compilation error when Sockaddr_in4 or Sockaddr_in6 passed to fromSockAddrYuriy Glukhov2018-06-071-0/+12
|
* Fixed crash/interface. Added tests.Yuriy Glukhov2018-03-151-1/+31
|
* Make IP address checking more obvious, and add tests for the net module.Nathan Hoad2015-03-071-0/+47