summaryrefslogtreecommitdiff
path: root/lib/inets/test
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearErlang/OTP2023-05-152-2/+2
|
* Merge pull request #7139 from ↵Kiko Fernandez-Reyes2023-04-211-1/+1
|\ | | | | | | | | | | | | kikofernandez/kiko/dbg/deprecate-stop_clear-function/GH-6903/OTP-18478 Deprecate `stop_clear` function OTP-18478
| * dbg: deprecates function dbg:stop_clear/1Kiko Fernandez-Reyes2023-04-191-1/+1
| | | | | | | | | | | | | | | | function `dbg:stop_clear/1` is not documented in the API but was kept for compatibility reasons. in this commit we make a step forward to deprecating its use such that it will be eventually removed. closes GH-6903.
* | inets: add httpc_SUITE:remote_socket_close_parallelJakub Witczak2023-04-201-2/+84
| | | | | | | | - add test case for reproducing ERIERL-937
* | inets: httpc_SUITE refactorJakub Witczak2023-04-204-61/+49
|/
* inets: Fix missed testcas for new TLS default valueIngela Anderton Andin2023-03-281-1/+1
|
* ssl: Remove double assert and fix test cases to handle client defaults to ↵Ingela Anderton Andin2023-03-271-3/+3
| | | | {verify, verify_peer}
* Update copyright yearErlang/OTP2023-03-211-1/+1
|
* Merge pull request #6901 from ↵Ingela Andin2023-02-235-21/+13
|\ | | | | | | | | IngelaAndin/ingela/inets/remove-legacy-ssl-option-handling/GH-6380/OTP-18476 Ingela/inets/remove legacy ssl option handling/gh 6380/otp 18476
| * inets: Remove legacy code and correct request queue handlingIngela Anderton Andin2023-02-215-21/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Legacy essl option and even older ssl option handling (that no longer worked or made sense) has been removed. This uncovered a bug in pipeline and keepalive queue handling that could result in incorrect response of {error, socket_remotly_closed}, this has now been fixed. The bug was that retry code missed retring the first pipelined or keeplive request that was currently being processed. Also cuddle httpd max_clients test case to that have timeouts that makes sense. It is surprising that this test case was just a little unstable before! Closes #6380
* | Merge branch 'maint'Jakub Witczak2023-02-221-26/+44
|\ \ | |/ |/|
| * Merge branch 'kuba/inets/fix_uri_query_handling/OTP-18472' into maintJakub Witczak2023-02-221-26/+44
| |\
| | * inets: fix httpd and folder URI aliasJakub Witczak2023-02-201-26/+44
| | | | | | | | | | | | | | | | | | - for URI pointing to a folder (missing trailing /) with a query component - insert '/' after patch component but before query - improve alias test
| | * Update copyright yearErlang/OTP2022-05-021-1/+1
| | |
* | | Update copyright yearErlang/OTP2023-02-148-8/+8
| | |
* | | ssl: Remove default support for SHA1Ingela Anderton Andin2023-02-133-63/+66
| | | | | | | | | | | | Closes #6679
* | | Merge branch 'maint'Kiko Fernandez-Reyes2023-01-165-6/+6
|\ \ \ | |/ /
| * | inets: replace size/1 by XXX_size/1Kiko Fernandez-Reyes2023-01-165-6/+6
| | |
* | | Merge branch 'maint' into masterHenrik Nord2022-12-141-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | Update copyright yearErlang/OTP2022-12-121-1/+1
| | |
* | | Merge branch 'maint'Kiko Fernandez-Reyes2022-11-302-2/+2
|\ \ \ | |/ /
| * | inets: add type specsKiko Fernandez-Reyes2022-11-292-2/+2
| | |
* | | otp: Refactor second and third bootstrapLukas Larsson2022-10-181-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | We move all the logic around bootstraps to the top Makefile.in instead of sharing it with lib/Makefile. Now there is a single place that lists which applications are part of which bootstrap and which need to be built or not built.
* | | Merge branch 'maint'Ingela Anderton Andin2022-10-073-0/+38
|\ \ \ | |/ /
| * | inets: Implement HTTP 308 Permanent RedirectDataTriny2022-10-043-0/+38
| | |
* | | Merge pull request #6127 from dgud/dgud/inets/make_ssl_opt_default/OTP-18167Dan Gudmundsson2022-10-072-114/+122
|\ \ \ | | | | | | | | inets: Make https requests verify host by default
| * | | inets: Make https requests verify host by defaultDan Gudmundsson2022-10-042-114/+122
| | | | | | | | | | | | | | | | Make ssl connections more secure by default.
* | | | Merge branch 'maint'Kiko Fernandez-Reyes2022-09-261-1/+59
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Add test to check for Content-Length matching iolist_sizeTyler Hughes2022-09-191-1/+59
| | |
* | | inets: Fix socketwrap_SUITE to work with space in pathLukas Larsson2022-08-181-17/+15
|/ /
* | Merge branch 'dgud/inets/def-os-certs/OTP-18118' into maintDan Gudmundsson2022-07-041-2/+11
|\ \
| * | inets: Add a helper function for client ssl connectionsDan Gudmundsson2022-07-041-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | httpc:ssl_verify_host_options/1 returns ssl client options to verify the host. Added as a helper function to 25.1 to be added as the default option in 26.
* | | Merge branch 'deterministic-build' of https://github.com/TD5/otp into maintBjörn Gustavsson2022-06-291-0/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'deterministic-build' of https://github.com/TD5/otp: make: Allow OTP to be built deterministically compiler: Make test_lib robust to +deterministic compiler: Make compiler forward +determinsitic flag to epp compiler: Make yecc respect +deterministic compiler: Make leex respect +deterministic compiler: Make asn1ct_gen respect +deterministic compiler: Make EPP respect +deterministic OTP-18165
| * | make: Allow OTP to be built deterministicallyTom Davies2022-06-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a --enable-deterministic-build to the configure script, which sets ERL_DETERMINISTIC=yes throughout the relevant Makefiles, which then invoke the relevant build stages with the +deterministic option. This addresses absolute paths being included in generated .erl files and compiled .beam files that resulted in builds from different source directories generating different artefacts (which is a component of the issue in erlang#4482). I think it would make sense to make this the default at some stage, but I've put the change behind a flag for now to decouple making deterministic OTP builds possible from making them the default. Having +deterministic set results in compiler options being removed from the module info for modules where this options was used. This may have other implications for users of OTP. For tests themselves, +determinism is not set, since many test cases depend on accessing the test module's compilation options, or other features not available in deterministic mode, in order to configure themselves. For tests of the determinism feature specifically, +deterministic must be explicitly passed to the compiler within the relevant test cases.
* | | Merge branch 'maint'Jakub Witczak2022-04-291-29/+32
|\ \ \ | |/ / |/| / | |/
| * inets: fix 'all' handling for erl_script_aliasJakub Witczak2022-04-221-29/+32
| | | | | | | | - convert Module string to a known atom before generating webpage
* | Merge pull request #5824 from ↵Jakub Witczak2022-04-011-3/+19
|\ \ | | | | | | | | | | | | | | | u3s/kuba/inets/upgrade_timeout_option/GH-5782/OTP-17997 inets: re-use connect_timeout option in TLS upgrade OTP-17997
| * | inets: re-use connect_timeout option in TLS upgradeJakub Witczak2022-03-281-3/+19
| | | | | | | | | | | | | | | | | | - re-use connect_timeout during TLS upgrade of connection over proxy - connect_timeout test in inets - TLS upgrade client timeout test in ssl
* | | Merge branch 'maint' into masterRickard Green2022-03-293-3/+3
|\ \ \ | |/ / |/| / | |/ | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Update copyright yearErlang/OTP2022-03-294-4/+4
| |
* | Merge branch 'maint'Jakub Witczak2022-03-255-491/+16
|\ \ | |/
| * inets: fix and improve httpc_proxy_SUITEJakub Witczak2022-03-245-491/+16
| | | | | | | | | | - make suite working with current httpd - stop using erl_make_certs and random module
| * Update copyright yearErlang/OTP2022-03-096-6/+6
| |
* | Update copyright yearErlang/OTP2022-02-1512-12/+12
| |
* | Merge pull request #5675 from max-au/max-au/cleanup-testserver-os-typeLukas Larsson2022-02-116-12/+12
|\ \ | | | | | | [cleanup] Replace test_server:os_type() with os:type()
| * | [cleanup] Replace test_server:os_type() with os:type()Maxim Fedorov2022-02-016-12/+12
| | | | | | | | | | | | | | | Codemod, drops undocumented function in favour of a documented one.
* | | inets: remove deprecated functions from http_uriJakub Witczak2022-02-081-254/+1
|/ / | | | | | | | | | | | | | | | | - remove http_uri:parse/1 - remove http_uri:parse/2 - remove http_uri:scheme_defaults/0 - delay removal of http_uri:encode/1 until OTP-26 - delay removal of http_uri:decode/1 until OTP-26 - mark httpd_util:decode_hex/1 as deprecated
* | Merge pull request #5614 from ↵Jakub Witczak2022-01-281-12/+14
|\ \ | | | | | | | | | | | | | | | u3s/kuba/stdlib/uri_string_normalize_empty_port/OTP-17627 stdlib: normalize empty port in uri_string OTP-17627
| * | inets: remove not needed code in http_requestJakub Witczak2022-01-261-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | - http_request:normalize_host contains normalization code is handled in other places - Revert "http_request: Fix to handle undefined port in uri" This reverts commit 848642f50c315e94ef257e2c625b8088e8a3f844.
| * | stdlib: normalize empty port in uri_stringJakub Witczak2022-01-251-5/+14
| |/ | | | | | | | | - adjust port normalize functionality - remove port subcomponent if port value is empty or key in URIMap if undefined