大鼠四
32f95de2ea
Fix Short.highByte always return 0
2020-02-07 14:15:33 +03:00
Sergey Mashkov
2d497df355
Bump version
2020-02-06 13:16:13 +03:00
Sergey Mashkov
745338484f
Improve debug coroutine stack frame capturing diagnostics
2020-02-06 13:15:54 +03:00
Sergey Mashkov
9323be5645
Fix IOOBE in coroutine debug probes
...
Sometimes, debug probes do walk stack frames
when the analyzed coroutine is running concurrently.
2020-02-05 16:40:53 +03:00
Sergey Mashkov
bfb637288c
Version 1.3.1
1.3.1
2020-02-05 15:43:37 +03:00
Sergey Mashkov
c9217e1008
Fix server upgrade completion
2020-02-05 15:34:59 +03:00
Sergey Mashkov
1734027899
Fix Jetty upgrade cancellation on connection close
2020-02-05 15:34:59 +03:00
Sergey Mashkov
614f637940
Fix Jetty upgrade cancellation on connection close
2020-02-05 15:34:59 +03:00
Sergey Mashkov
dfbcbebb9f
Fix Netty HTTP pipeline cancellation
2020-02-05 15:34:58 +03:00
Sergey Mashkov
575afd2b78
Fix stress tests runner
...
- Support for tests filtering/sorting
- Notify tests as ignored when disabled
2020-02-05 15:34:58 +03:00
dmitrievanthony
d5f552524f
Update timings in HttpTimeoutTest to reduce number of flaky tests.
2020-02-05 12:10:55 +03:00
dmitrievanthony
ff5f8c8b5d
Fix HttpRequestTimeoutException message (URL Builder).
2020-02-05 12:10:55 +03:00
Sergey Mashkov
ab0ca11dc6
Increase websockets test timeout
...
Usually these tests in CI complete in ~150ms but sometimes there are spikes when it takes seconds. So timeout of 2 seconds is too strict and it fails from time to time.
2020-02-04 18:27:24 +03:00
Sergey Mashkov
1abef7a9ab
Fix CIO server local host and port ( #1487 )
2020-02-04 18:02:27 +03:00
dmitrievanthony
87e4df338b
Add ConnectException (as timeout exception) handling into AndroidURLConnectionUtils.
2020-02-04 17:13:45 +03:00
Sergey Mashkov
3fea61a69f
Make servers HttpsRedirect exclude list more flexible
2020-02-04 16:58:52 +03:00
clydebarrow
88f614cbdb
Add a list of exempted path prefixes for https redirection.
2020-02-04 16:43:32 +03:00
Sergey Mashkov
49a8ccd42a
Remove hidden API that was already hidden in 1.2.x
2020-02-04 16:41:02 +03:00
Sergey Mashkov
2145037aec
Added changelog
2020-02-04 16:41:02 +03:00
Sergey Mashkov
edbff55652
Make utility LoggingContent internal
2020-02-04 16:39:54 +03:00
Sergey Mashkov
3a3e8538b6
Increase test timeout to reduce false failures
...
According to test run statistics, the test completes successfully in 4-8 seconds. So the timeout boundary of 10 seconds is too strict.
2020-02-04 16:39:51 +03:00
Sergey Mashkov
0098481c31
Fix raw websocket job hierarchy
...
Simplify hierarchy and fix jobs completion so
observers may wait for all jobs completions.
Before this change, there were no way to wait for
reader job completion since it was running out of the
hierarchy.
2020-02-04 14:51:14 +03:00
Sergey Mashkov
7aa1b98951
Fix inspections warnings
2020-02-04 14:45:30 +03:00
Sergey Mashkov
b4957db71a
Fix Netty upgrade to wait for all jobs completion
...
Too early channel close caused Windows to mark connection as aborted so test client is unable to read close frame
2020-02-03 18:47:40 +03:00
Sergey Mashkov
c662dbab33
Avoid using httpstat.us in actual network tests
2020-02-03 14:42:01 +03:00
Sergey Mashkov
06dad2c203
Move CIO raw server to backend package
2020-02-03 13:28:35 +03:00
Sergey Mashkov
8e16ed877f
Fix codestyle
2020-02-03 13:28:35 +03:00
Sergey Mashkov
0fda2cb0a9
Simplify RAW CIO server API, improve API change stability
2020-02-03 13:28:35 +03:00
Jerome David
41a9870245
Add CIOApplicationRequest.remoteHost implementation.
2020-02-03 13:28:31 +03:00
Sergey Mashkov
14625e60f6
Merge pull request #1598 from Steven0351/netty-codec-cve-2019-20444-cve-2019-20445-cve-2020-7238
...
Bump Netty version per CVE-2019-20444, CVE-2019-20445, and CVE-2020-7…
2020-02-01 11:47:01 +03:00
Steven Sherry
aef3ad7599
Bump Netty version per CVE-2019-20444, CVE-2019-20445, and CVE-2020-7238 for request smuggling vulernabilities.
2020-01-31 15:48:17 -06:00
Werner Thumann
262c5c858f
Use Unit instead of one value of Int
2020-01-31 19:16:46 +03:00
Werner Thumann
2224564913
Fix Auth retry logic ( #1051 )
2020-01-31 19:16:46 +03:00
Werner Thumann
36e6197b61
Enable AuthTests for JVM and add test provocating SendCountExceedException
2020-01-31 19:16:46 +03:00
Leonid Stashevsky
f4c549d805
Update public API
2020-01-31 15:01:57 +03:00
Leonid Stashevsky
4e5ab80a1d
Prepare exceptions to common sockets
2020-01-31 15:01:57 +03:00
dmitrievanthony
96b59e9c6e
Skip "connection refused" tests on Windows.
2020-01-30 17:53:57 +03:00
Sergey Mashkov
ae09d3959b
Add invalidate cache test with failure
2020-01-30 16:21:34 +03:00
Sergey Mashkov
86fb0294aa
Fix multiple jwt auth providers processing ( #1586 )
2020-01-30 16:21:29 +03:00
Sergey Mashkov
b37f2029b7
Deprecate AuthenticationContext.errors direct mutable map access
2020-01-30 16:21:28 +03:00
Sergey Mashkov
f0c348493a
Rename AuthenticationFailedCause.Error.cause to message
2020-01-30 16:21:28 +03:00
Sergey Mashkov
65e2e0a3ff
Add tests for server auth error cause with inheritance
2020-01-30 16:21:28 +03:00
Sergey Mashkov
574a347d57
Enable binary compatibility validator for ktor-auth and ktor-websocket server
...
The features need to be stable since 3rd parties
already have dependencies on these parts
2020-01-30 16:21:28 +03:00
Sergey Mashkov
191bf15b84
Upgrade jwt/jwks to latest versions
2020-01-30 16:21:28 +03:00
Sergey Mashkov
b40866aea0
Add invalid session id cleanup
...
This makes no big difference but just improves debugging
and logging so the wrong session id doesn't get stuck
2020-01-30 16:21:27 +03:00
Sergey Mashkov
3e15d9c2ed
Improve unhandled coroutine exceptions logging
2020-01-30 16:21:27 +03:00
Sergey Mashkov
d81f76b017
Eliminate accidental coroutine hierarchy in the sessions cache ( #1591 )
2020-01-30 16:21:18 +03:00
Sergey Mashkov
18351b426a
Fix cache invalidate to not rethrow exception ( #1591 )
...
Rethrowing exceptions from here is counterintuitive.
Particularly, it caused the session cache watchdog to crash.
2020-01-30 16:21:06 +03:00
dmitrievanthony
1ebbfd46f3
Add request, connect and socket timeouts to HTTP client (API changes).
2020-01-29 19:12:25 +03:00
dmitrievanthony
4644d06075
Add request, connect and socket timeouts to HTTP client.
2020-01-29 19:12:25 +03:00