Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass through upgrade request #11266

Closed
wants to merge 1,231 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1231 commits
Select commit Hold shift + click to select a range
3dce4de
Remove extra empty line (#10754)
hyperxpro Nov 2, 2020
d16c23d
Revert "Add support for heartbeat in STOMP decoder/encoder. (#10695)"
normanmaurer Nov 3, 2020
e4baa67
Add `toString` method in DefaultHttp2WindowUpdateFrame (#10763)
hyperxpro Nov 3, 2020
2a1e031
HttpConversionUtil#toHttpResponse should use false in `isRequest` par…
hyperxpro Nov 3, 2020
b70d0fa
ByteProcessor shouldn't throw checked exception
chrisvest Nov 3, 2020
ff2e790
Revert "ByteProcessor shouldn't throw checked exception"
chrisvest Nov 3, 2020
10af555
ByteProcessor shouldn't throw checked exception (#10767)
chrisvest Nov 3, 2020
32627d7
Avoid auto boxing in PoolChunk#removeAvailRun (#10769)
Scottmitch Nov 3, 2020
a6b7498
Use JUnit 5 for running all tests (#10764)
chrisvest Nov 4, 2020
ed4dc81
Update to latest java 8/11/15 versions (#10774)
normanmaurer Nov 4, 2020
6af982b
Fix License type of dnsinfo (#10773)
hyperxpro Nov 4, 2020
f053870
Drop unknown frames on connection stream (#10771)
artgon Nov 4, 2020
0754dac
codec-http2: Correct last-stream-id for HEADERS-triggered connection …
ejona86 Nov 5, 2020
12c3b9c
Add HttpScheme Support in HttpToHttp2ConnectionHandler (#10641)
hyperxpro Nov 5, 2020
0e03682
Smaller output in codeql build (#10787)
chrisvest Nov 9, 2020
70cbe74
Use special exception when failing because the SSLEngine was closed (…
normanmaurer Nov 9, 2020
8848002
Add ByteBuf parameter HttpConversionUtil (#10785)
hyperxpro Nov 10, 2020
eeece4c
Use http in xmlns URIs to make maven release plugin happy again (#10788)
normanmaurer Nov 10, 2020
076aa44
Use correct netty-build artifact
normanmaurer Nov 10, 2020
057eb12
Fix UnsafeByteBufUtil#setBytes() cause JVM crash (#10791) (#10795)
Ech0Fan Nov 16, 2020
3f9522c
Fix comment typo DelegatingDecompressorFrameListener (#10789)
hyperxpro Nov 16, 2020
83f3014
Fix compilation failure introduced by bad cherry-picking of 057eb121f…
normanmaurer Nov 16, 2020
3a58063
Fix for performance regression on HttpPost RequestDecoder (#10623)
fredericBregier Nov 19, 2020
43b831b
Let object serialisation exceptions propagate in the Object Echo exam…
chrisvest Nov 19, 2020
379d086
Override Sec-WebSocket-Protocol websocket handshake response header a…
amizurov Nov 19, 2020
1c3e6e4
Add ABORT and COMMIT STOMP commands to the StompCommand enum (#10790)
benjaminroux Nov 19, 2020
cb7d38b
Allow blocking calls inside HashedWheelTimer start() and stop() (#10810)
adutra Nov 23, 2020
74bf49b
IovArray should support when there is no unsafe present (#10814)
normanmaurer Nov 23, 2020
aab4c0c
Allow blocking calls inside SingleThreadEventExecutor.addTask (#10811)
adutra Nov 23, 2020
7d53b97
Fix NPE in ByteToMessageDecoder if the user removes the handler while…
normanmaurer Nov 24, 2020
6c446d1
OpenSsl.memoryAddress(...) should use internalNioBuffer(...) if it ca…
normanmaurer Nov 25, 2020
2dae666
Fix caching for normal allocations (#10825)
normanmaurer Nov 25, 2020
db4f85a
Remove use of PlatformDependent.throwsException in SingleThreadEventE…
chrisvest Nov 26, 2020
23c0bbb
Don't use the cname cache when using DnsRecordResolveContext (#10808)
normanmaurer Nov 26, 2020
86730f5
Create bespoke long/long hashmap and long-valued priority queue for P…
chrisvest Nov 29, 2020
28ef4d1
Let Http2ConnectionHandler close stream with voidPromise (#10819)
valerauko Dec 2, 2020
d660706
Fix a bug in LongPriorityQueue internal remove (#10832)
chrisvest Dec 2, 2020
19c121a
Initialize Recycler.INITIAL_CAPACITY before invoking InternalLogger.d…
izeye Dec 4, 2020
a06c6f8
Ensure we don't leak the ClassLoader in the backtrace of TrackRecord.…
normanmaurer Dec 5, 2020
4c86fbd
Add whitelist entry for SSLEngineImpl.wrap to BlockHound configuratio…
violetagg Dec 7, 2020
2877eef
Provide ability to extend StompSubframeEncoder and improve full stomp…
amizurov Dec 7, 2020
376bb0d
Add state in exception message (#10842)
hyperxpro Dec 7, 2020
591b0f6
Enforce status code validation in CloseWebSocketFrame (#10846)
violetagg Dec 7, 2020
a7bc535
Fix native image build for the cases when io.netty.util.NetUtil is in…
rpuch Dec 7, 2020
64fbf56
Update to netty-tcnative 2.0.35.Final (#10850)
normanmaurer Dec 8, 2020
3812029
Use aarch_64 in a consistent way (#10845)
normanmaurer Dec 7, 2020
ca7e3e0
Fix classifier usage in bom
normanmaurer Dec 8, 2020
38e06ef
Removed redundant assignment (#10853)
terrarier2111 Dec 10, 2020
90670f9
Fixed JavaDoc of LimitingByteInput (#10852)
terrarier2111 Dec 10, 2020
6df3adf
Fixed a comment in UnpooledDirectByteBuf (#10854)
terrarier2111 Dec 10, 2020
643b847
Improve logging in `DnsServerAddressStreamProviders` (#10848)
idelpivnitskiy Dec 10, 2020
88cb211
Fix infinite loop (#10855)
jameskleeh Dec 11, 2020
4f7e6d4
Workaround possible JDK bug in SSLEngineImpl when using TLSv1.3 that …
normanmaurer Dec 15, 2020
c22cd7c
Removed redundant local variable (#10858)
terrarier2111 Dec 15, 2020
e5468af
Fix Bundle-NativeCode in MANIFEST file on macOS (#10865)
normanmaurer Dec 15, 2020
d6121a2
Fix Bundle-NativeCode in MANIFEST file (#10867)
normanmaurer Dec 15, 2020
7843d4e
Don't catch Throwable in InternalLoggerFactory (#10866)
normanmaurer Dec 16, 2020
c85dd51
Ensure IovArray is usuable without sun.misc.Unsafe (#10870)
normanmaurer Dec 16, 2020
26fc8d4
Simplify InternalThreadLocalMap (#10872)
chrisvest Dec 18, 2020
6a05733
MQTT: foolproof SUBSCRIBE QoS encoding (#10874)
paul-lysak Dec 18, 2020
c4a07ae
Use netty-jni-util via maven central (#10877)
normanmaurer Dec 19, 2020
85ec20e
Improve performance of HPACK static table lookup (#10840)
kachayev Dec 21, 2020
ab340e1
Change switch to if (#10880)
hyperxpro Dec 22, 2020
fdf09ee
Add fallback for android when trying to access the filedescriptor via…
normanmaurer Dec 22, 2020
689929f
Add ConnAck message builder method to handle the creation of related …
andsel Dec 23, 2020
b4dcd18
Avoid unsynchronized access to scheduledTaskQueue in GlobalEventExecu…
ejona86 Dec 24, 2020
2139ff9
Add PushPromise and Priority Frame support in Http2FrameCodec (#10765)
hyperxpro Dec 27, 2020
ebcd4df
Ensure Checkstyle suppression for dependency-reduced-pom.xml on Windo…
delegacy Jan 1, 2021
c1095a0
Update BouncyCastle Libraries (#10906)
hyperxpro Jan 1, 2021
2aa3316
Update README
normanmaurer Dec 27, 2020
e8f3e88
Fix url in README.md (#10915)
AkiaCode Jan 11, 2021
dc632e3
We need to ensure we always drain the error stack when a callback thr…
normanmaurer Jan 11, 2021
78646b3
Verify we can load native modules and add job that verifies on aarch6…
normanmaurer Jan 14, 2021
a7e8a33
Ensure native methods for unix-native-common are only registered once…
normanmaurer Jan 14, 2021
dd89d1b
Allow blocking calls in UnixResolverDnsServerAddressStreamProvider#pa…
violetagg Jan 14, 2021
b21a08e
Fix compile error introduced by bad cherry-pick in a7e8a33833e14ccc8f…
normanmaurer Jan 14, 2021
ede5eec
Fix compile error introduced by dd89d1b6bfe55d00fda4a02db2906d7bac69a75d
normanmaurer Jan 14, 2021
aed2097
Update the javadocs on FastThreadLocal (#10942)
chrisvest Jan 15, 2021
5337d3e
Implement SWAR indexOf byte search (#10737)
franz1981 Jan 15, 2021
f6c1c0e
Use GracefulShutdown when stream space is exhausted (#10946)
normanmaurer Jan 16, 2021
2aaa468
Make native loading logging less confusing (#10944)
normanmaurer Jan 16, 2021
35ac770
Correctly handle fragmentation in JdkZlibDecoder (#10948)
normanmaurer Jan 18, 2021
b19b8c3
Ignore priority frames for non existing streams and so prevent a NPE …
normanmaurer Jan 18, 2021
6ae8cd6
Mark some methods as protected to make it easier to write own SslCont…
normanmaurer Jan 21, 2021
56d2635
Override ALPN methods on ReferenceCountedOpenSslEngine (#10954)
normanmaurer Jan 21, 2021
8eb8ad8
Allow to use int while build MqttMessageIdVariableHeader (#10930)
duke-bartholomew Jan 21, 2021
6c041c3
Merge WebSocket extensions, close #10792 (#10956)
slandelle Jan 22, 2021
c68af5c
Don't use Fixed ports for UDP test (#10961)
carl-mastrangelo Jan 26, 2021
b10e514
Ensure we create a copy of the attributes and options when bootstrap …
normanmaurer Jan 26, 2021
fb9412b
Update dependency declaration in all pom.xml (#10967)
normanmaurer Jan 27, 2021
a3d100a
Ignore SocketShutdownOutputBySelfTest.testWriteAfterShutdownOutputNoW…
normanmaurer Jan 28, 2021
99fc0e4
Correctly filter out TLSv1.3 ciphers if TLSv1.3 is not enabled (#10919)
normanmaurer Jan 28, 2021
3e5a08c
Fix possible SEGV when using native dns resolver on macos (#10971)
normanmaurer Jan 28, 2021
5a725ed
[master] Allow and skip null handlers when adding a vararg list of ha…
Bennett-Lynch Jan 29, 2021
980ea9c
Revert "Enable SSL_MODE_ENABLE_FALSE_START if jdkCompatibilityMode is…
normanmaurer Jan 29, 2021
f25b120
Clarify who is responsible closing the InputStream once SslContext w……
normanmaurer Feb 1, 2021
d7fb0f5
Revert HttpPostMultipartRequestDecoder and HttpPostStandardRequestDec…
normanmaurer Feb 3, 2021
8739263
Fix memory release failure when "maxNumElems == 1" of PoolSubpage (#1…
ZzxyNn Feb 5, 2021
517da28
DecodeHexBenchmark is too branch-predictor friendly (#9942)
franz1981 Feb 5, 2021
4a5d7a5
ReadOnlyByteBuf writable bytes
Scottmitch Dec 13, 2019
4d3bd06
Update to latest os-maven-plugin (#11003)
normanmaurer Feb 8, 2021
9c2de76
Use Files.createTempFile(...) to ensure the file is created with prop…
normanmaurer Feb 8, 2021
42a2c9c
Enable stateless resumption for TLSv1.3 by default when using OpenSS…
normanmaurer Feb 8, 2021
4177e2c
Revert test debugging flags and update surefire/failsafe (#11016)
chrisvest Feb 10, 2021
c1b3ffa
Simplity some code (#11000)
strugcoder Feb 11, 2021
b1ce20c
Allow blocking calls when parsing etcResolver/hosts files (#11009)
violetagg Feb 11, 2021
b43b675
Disable flaky test (#11017)
normanmaurer Feb 11, 2021
899e5a6
Upgrade graalvm version to the latest version (#11012)
skyguard1 Feb 11, 2021
1d10872
Unify the exception for bind operations in AbstractBootstrap (#11018)
horizonzy Feb 15, 2021
d60b165
TCP Fast Open for clients (#11006)
chrisvest Feb 15, 2021
b29df0f
Simplify `flushAtEnd` flag computation in `SslHandler#handlerAdded` (…
idelpivnitskiy Feb 16, 2021
dbee8c9
Avoid letting ipv6 addresses join ipv4 groups (#11015)
wineway Feb 16, 2021
5e0617e
Fix incorrect comment in code (#11029)
discko Feb 19, 2021
7f29253
Propagate SSLException to the Http2StreamChannels (#11023)
normanmaurer Feb 19, 2021
95e4d6f
Fix hash collision handling in DefaultHeaders iterator remove (#11028)
chrisvest Feb 19, 2021
a1172bf
Less noisy logging in `DnsServerAddressStreamProviders` (#11031)
idelpivnitskiy Feb 23, 2021
f313408
Fix bug in Recycler with racing calls to recycle (#11037)
chrisvest Feb 26, 2021
94485d7
Remove unnecessary `this`. (#11035)
hyperxpro Feb 26, 2021
d421ae1
Minimize get byte multipart and fix buffer reuse (#11001)
fredericBregier Feb 26, 2021
ec18aa8
Introduce ByteBufConvertible interface (#11036)
chrisvest Feb 26, 2021
ea2a879
Add support for UDP_SEGMENT (GSO) when using sendmmsg (#11038)
normanmaurer Feb 27, 2021
0527ce1
Fix compile error introduced by bad cherry-pick
normanmaurer Feb 28, 2021
d8ae9df
Bring forward build automation changes (#11052)
chrisvest Mar 2, 2021
bcb165b
Ensure removal from queue happens before writeAndFlush(...) is called…
normanmaurer Mar 2, 2021
7512047
Add tests verifying channel configure/initialisation order (#11051)
chrisvest Mar 3, 2021
2ce03e0
Fix NPE that can happen in the WriteTimeoutHandler when multiple exec…
normanmaurer Mar 4, 2021
bfea65e
Remove support for JZlib (#11058)
chrisvest Mar 4, 2021
e1830cc
Add support for direct ByteBufs in JdkZlibEncoder and JdkZlibDecoder …
chrisvest Mar 5, 2021
b1a8de0
Introduce SslContextOption which can be used for "optional" features …
normanmaurer Feb 2, 2021
d209eb0
Move OpenSsl*X509Certificate to util package and rename it (#10955)
normanmaurer Jan 21, 2021
8a93201
Support session cache for client and server when using native SSLEngi…
normanmaurer Mar 7, 2021
0da12a6
Use correct docker file for deployments (#11062)
normanmaurer Mar 8, 2021
06739ed
Allow to config dns bind address in DnsNameResolver (#11061)
shoothzj Mar 8, 2021
cf2d846
Fix compile error introduced by 06739ed8906a2b71cea25a6932a01392db01981d
normanmaurer Mar 8, 2021
928be58
Always include the OS in the tcnative library name (#11064)
normanmaurer Mar 8, 2021
0acbe07
Add missing docker compose config for staging (#11066)
normanmaurer Mar 8, 2021
172472c
[HttpObjectDecoder] Include hex-value of illegal whitespace char (#11…
Bennett-Lynch Mar 9, 2021
2e9557c
Try to stabilize docker build by using https (#11070)
normanmaurer Mar 9, 2021
29a4dd6
Test that we return correct result for Futures that are returned from…
normanmaurer Mar 11, 2021
5de2dde
Add unit tests that validate that header validation exception is prop…
normanmaurer Mar 12, 2021
00eb561
Introduce HttpMessageDecoderResult to expose decoded header size (#11…
Bennett-Lynch Mar 12, 2021
5e11c00
Also support CompositeByteBuf with SegmentedDatagramPacket (#11081)
normanmaurer Mar 12, 2021
8da6ed3
Merge pull request from GHSA-wm47-8v5p-wjpj
normanmaurer Mar 9, 2021
1914679
codec-http2: Exception as cause, not message format argument (#11084)
ejona86 Mar 14, 2021
7a70fab
Make EpollSocketConnectTest correctly configure TFO (#11083)
chrisvest Mar 14, 2021
e5ff621
SslHandler flushing with TCP Fast Open fix (#11077)
Scottmitch Mar 14, 2021
06ddb1f
Fix EpollSocketTestPermutation after bad cherry-pick
normanmaurer Mar 15, 2021
a19d9c2
Ensure we also build dependent modules for deployments (#10936)
normanmaurer Jan 14, 2021
817052d
Allow to configure the maximum number of message to write per eventlo…
normanmaurer Mar 17, 2021
163b2b6
Continue reading when the number of bytes is less then the configured…
normanmaurer Mar 17, 2021
5deaf94
Github Actions dawidd6/action-download-artifact set workflow_conclusi…
Scottmitch Mar 17, 2021
654a54b
Make CompositeByteBuf throw IllegalStateException when components are…
chrisvest Mar 18, 2021
5451b97
Fix grammar in javadoc (#11090)
elharo Mar 19, 2021
98b9158
Don't bind to a specify port during SSLEngine tests as the port may a…
normanmaurer Mar 19, 2021
22088cd
Update netty-build version (#11103)
normanmaurer Mar 19, 2021
a25103f
Fix netty-build dependency
normanmaurer Mar 21, 2021
56703b9
Fix exception if Response has content (#11093)
stuartwdouglas Mar 21, 2021
7753431
Do not send GOAWAY frame before connection preface (#11107)
Bennett-Lynch Mar 23, 2021
9ba653c
Fix alignment handling for pooled direct buffers (#11106)
chrisvest Mar 23, 2021
9c39c0d
Ensure we can correctly propagate exceptions to streams even if endSt…
normanmaurer Mar 23, 2021
0e16f0e
Allow to have an empty path when convert a CONNECT request (#11108)
normanmaurer Mar 24, 2021
e3086d5
Let's use gcc10 when cross-compiling for LSE support (#11112)
normanmaurer Mar 25, 2021
8ae59c1
Expose on/off heap agnostic Unsafe accessor methods
chrisvest Mar 25, 2021
8d483b5
Use netty-jni-util 0.0.3.Final
normanmaurer Mar 25, 2021
d39cc31
Fix build for aarch64 (#11116)
normanmaurer Mar 25, 2021
aa1b887
Fix offset type for new PlatformDependent.put* methods
chrisvest Mar 25, 2021
50a83ec
DefaultThreadFactory must not use Thread.currentThread() when constru…
normanmaurer Mar 26, 2021
02c460b
Add support for UDP_GRO (#11120)
normanmaurer Mar 29, 2021
9403cea
remove unnecessary check in WebSocketFrameDecoder (#11113)
doom369 Mar 29, 2021
72cdeae
Move SegmentedDatagramPacket to transport-native-unix-common (#11121)
normanmaurer Mar 29, 2021
3e43d1c
Update to netty-tcnative 2.0.38.Final (#11126)
normanmaurer Mar 29, 2021
7971a8c
Merge pull request from GHSA-f256-j965-7f32
normanmaurer Mar 30, 2021
b41891b
Skip deployment of testsuite jars (#11127)
normanmaurer Mar 30, 2021
bb97d16
AbstractKQueueChannel#writeFilter is invoked with the correct boolean…
violetagg Mar 30, 2021
ad7372b
SslHandler wrap reentry bug fix (#11133)
Scottmitch Apr 1, 2021
6d35db5
Less blocking in ChunkedStream (#11150)
chrisvest Apr 12, 2021
01768f0
Fire `SslHandshakeCompletionEvent` after the last decoded data chunk …
idelpivnitskiy Apr 15, 2021
3049eac
SslHandler consolidate state to save memory (#11160)
Scottmitch Apr 15, 2021
42dc696
Fix behavior of HttpPostMultipartRequestDecoder for Memory based Fact…
fredericBregier Apr 16, 2021
59867fa
SslHandler LocalChannel read/unwrap reentry fix (#11156)
Scottmitch Apr 16, 2021
d1b896b
Log fewer stack traces from initialisation code (#11164)
chrisvest Apr 19, 2021
5cdfd57
[Clean] Remove useless code (#11154)
skyguard1 Apr 19, 2021
260911b
Use ThreadLocalRandom instead of Math.random() (#11165)
doom369 Apr 19, 2021
c2f893f
Fix StreamBufferingEncoder GOAWAY bug (#11144)
dapengzhang0 Apr 19, 2021
311dae5
Ensure DnsNameResolver resolves the host(computer) name on Windows (#…
violetagg Apr 20, 2021
a270a4b
Add WebSocketClientHandshaker / WebSocketServerHandshaker close metho…
normanmaurer Apr 21, 2021
61c3a6a
Fix support for IP_RECVORIGDSTADDR when using native epoll transport …
normanmaurer Apr 21, 2021
0fdf2e7
Used already calculated SETTINGS frame payload length when allocating…
Apr 18, 2021
120fb6f
Remove duplicate HTTP2 payload length check against max frame size
liyuan24 Apr 20, 2021
d4b9001
BouncyCastle ALPN support (#11157)
koh-osug Apr 21, 2021
0a2a24f
Utilize i.n.u.internal.ObjectUtil to assert Preconditions (commons) (…
boris-unckel Apr 22, 2021
bf0c010
Add default block to CompositeByteBuf (#11178)
skyguard1 Apr 22, 2021
a5e3b59
Utilize i.n.u.internal.ObjectUtil to assert Preconditions (codec) (#1…
boris-unckel Apr 22, 2021
8c12ad4
SimpleChannelPromiseAggregator use first exception instead of last (#…
Scottmitch Apr 22, 2021
83297ed
Utilize i.n.u.internal.ObjectUtil to assert Preconditions (handler) (…
boris-unckel Apr 22, 2021
eb563c2
Utilize i.n.u.internal.ObjectUtil to assert Preconditions (transport*…
boris-unckel Apr 22, 2021
73bdca9
Utilize i.n.u.internal.ObjectUtil to assert Preconditions (buffer) (#…
boris-unckel Apr 22, 2021
620f140
Utilize i.n.u.internal.ObjectUtil to assert Preconditions (example) (…
boris-unckel Apr 22, 2021
c1a0429
Utilize i.n.u.internal.ObjectUtil to assert Preconditions (codec*) (#…
boris-unckel Apr 22, 2021
0e8f5c5
Utilize i.n.u.internal.ObjectUtil to assert Preconditions (misc) (#11…
boris-unckel Apr 22, 2021
10758ee
Utilize i.n.u.internal.ObjectUtil to assert Preconditions (codec-http…
boris-unckel Apr 23, 2021
6389f18
Add a new HTTP/2 pseudo header `:protocol` (#11192)
trustin Apr 26, 2021
f221e4d
Enable Tlsv1.3 when using BouncyCastle ALPN support (#11193)
skyguard1 Apr 26, 2021
636244c
adjust validation logic when websocket server check starts with '/' (…
roycarser Apr 26, 2021
c919b38
Re-enable running openssl (shared) tests on CI (#11197)
normanmaurer Apr 27, 2021
9d4e029
Update run-on-arch-action (#11199)
normanmaurer Apr 27, 2021
4c11ce7
Correctly throw ErrorDataDecoderException for errors while decoding (…
normanmaurer Apr 27, 2021
8636aad
Destroy HttpPostMultipartRequestDecoder if contructor throws (#11207)
normanmaurer Apr 28, 2021
438632a
Give a choice for app to extend the length limitation of clientId eve…
skyguard1 Apr 28, 2021
bf721c8
Before throwing TooLongFrameException,should skip the bytes to be rea…
skyguard1 Apr 29, 2021
3828855
ReferenceCountedOpenSslEngine unwrap handshake complete status fix (#…
Scottmitch Apr 29, 2021
672a325
Improve `Http2FrameCodecBuilder` usability (#11195)
Apr 29, 2021
a0516ee
Verify SslHandler#unwrap send fireChannelRead event after a notificat…
violetagg Apr 29, 2021
5309422
Fix Memory release not correctly in Multipart Decoder (#11188)
fredericBregier Apr 29, 2021
1276442
Move HttpPostMultiPartRequestDecoder specific tests to HttpPostMultiP…
normanmaurer Apr 29, 2021
467dc29
Update java versions (#11217)
normanmaurer May 1, 2021
968dfbb
Preload classes before calling native OnLoad function to prevent clas…
normanmaurer May 3, 2021
90213d3
Don't bundle all netty dependencies into netty-all (#11202)
candrews May 3, 2021
15e459d
Update from JDK15 to JDK16 (#11218)
normanmaurer May 3, 2021
d2643ed
Decrease visibility of `Http2FrameCodecBuilder` default ctor to `prot…
idelpivnitskiy May 4, 2021
4fabd80
Only fall back to CNAME on A/AAAA queries (#11216)
benevans May 4, 2021
584d674
Bump initial timeouts in SSLEngineTest (#11221)
chrisvest May 5, 2021
525d696
Update to use maven 3.8.1 (#11223)
normanmaurer May 5, 2021
743d44b
Add default block in MqttVersion (#11226)
skyguard1 May 6, 2021
fe5a56f
Improved exception messages in MqttVersion (#11228)
terrarier2111 May 6, 2021
e10c1af
Add explicit null checks in OpenSslX509KeyManagerFactory (#11230)
skyguard1 May 7, 2021
7cbd84f
Workaround frequent connection reset / timeout on CI (#11231)
normanmaurer May 7, 2021
414de53
Use profile for overriding properties when building on the CI (#11232)
normanmaurer May 7, 2021
92ff402
Introduce BrotliDecoder (#10960)
slandelle May 10, 2021
57b0d6f
Re-order list of resolvers according to their searchOrder (#11236)
gwre-ivan May 11, 2021
b9685a6
Use `PlatformDependent#normalizedOs()` instead of reading `os.name` p…
idelpivnitskiy May 11, 2021
e54aeea
Update conscrypt and add workaround for test failure (#11238)
normanmaurer May 11, 2021
f546718
Disable TLSv1 and TLSv1.1 by default (#11237)
normanmaurer May 11, 2021
230c9d3
Use the same maven cache for all (#11241)
normanmaurer May 11, 2021
0d32c48
Correctly setup cache to be able to make use of different restore key…
normanmaurer May 12, 2021
f33acf2
Fix java version for java16 (#11243)
normanmaurer May 12, 2021
91e41ae
Cleanup test classes
normanmaurer May 12, 2021
1602b96
Use tasks by default when using openssl based SSL provider (#11242)
normanmaurer May 12, 2021
5d0458a
Use MAVEN_OPTS to setup timeouts for dependency downloads (#11250)
normanmaurer May 12, 2021
0d93c24
Change asterisk to 'x' in FQDN of SelfSignedCertificate (#11245)
hyperxpro May 12, 2021
7f04b28
Add DefaultHostsFileEntriesResolver#addresses to provide all hosts fi…
violetagg May 14, 2021
747a686
Fix typo in DnsCodecUtil class (#11252)
kevinw66 May 14, 2021
605290f
Don't create a new ParserImpl on each parser() call (#11255)
normanmaurer May 14, 2021
8e234c3
Fix typo in release workflow
normanmaurer May 14, 2021
3236346
Fix another typo in the release workflow
normanmaurer May 17, 2021
a7ef3a1
Add script to copy apidocs and xref to netty-website
normanmaurer May 17, 2021
7c3810f
make Slf4JLoggerFactory be singleton (#11253)
laosijikaichele May 17, 2021
5bdcc89
Add profile for generating javadocs and xref files (#11259)
normanmaurer May 17, 2021
e38ca87
Fix loading of the native library for DNS resolutions on MacOS (#11260)
violetagg May 17, 2021
74ed314
Provide a way to pass through a certain upgrade request
trustin May 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
@@ -1 +1 @@
Please review the [guidelines for contributing](http://netty.io/wiki/developer-guide.html) for this repository.
Please review the [guidelines for contributing](https://netty.io/wiki/developer-guide.html) for this repository.
15 changes: 15 additions & 0 deletions .github/scripts/check_build_result.sh
@@ -0,0 +1,15 @@
#!/bin/bash
set -e

if [ "$#" -ne 1 ]; then
echo "Expected build log as argument"
exit 1
fi

if grep -q 'BUILD FAILURE' $1 ; then
echo "Build failure detected, please inspect build log"
exit 1
else
echo "Build successful"
exit 0
fi
16 changes: 16 additions & 0 deletions .github/scripts/check_leak.sh
@@ -0,0 +1,16 @@
#!/bin/bash
set -e

if [ "$#" -ne 1 ]; then
echo "Expected build log as argument"
exit 1
fi

if grep -q 'LEAK:' $1 ; then
echo "Leak detected, please inspect build log"
exit 1
else
echo "No Leak detected"
exit 0
fi

20 changes: 20 additions & 0 deletions .github/scripts/merge_local_staging.sh
@@ -0,0 +1,20 @@
#!/bin/bash
set -e
if [ "$#" -lt 2 ]; then
echo "Expected target directory and at least one local staging directory"
exit 1
fi
TARGET=$1

for ((i=2; i<=$#; i++))
do
DIR="${!i}"
SUB_DIR=$(ls -d "${DIR}"/* | awk -F / '{print $NF}')

if [ ! -d "${TARGET}/${SUB_DIR}" ]
then
mkdir -p "${TARGET}/${SUB_DIR}"
fi
cat "${DIR}"/"${SUB_DIR}"/.index >> "${TARGET}/${SUB_DIR}"/.index
cp -r "${DIR}"/"${SUB_DIR}"/* "${TARGET}/${SUB_DIR}"/
done
13 changes: 13 additions & 0 deletions .github/scripts/release_checkout_tag.sh
@@ -0,0 +1,13 @@
#!/bin/bash
set -e

if [ "$#" -ne 1 ]; then
echo "Expected release.properties file"
exit 1
fi

TAG=$(grep scm.tag= "$1" | cut -d'=' -f2)

echo "Checkout tag $TAG"
git checkout "$TAG"
exit 0
14 changes: 14 additions & 0 deletions .github/scripts/release_rollback.sh
@@ -0,0 +1,14 @@
#!/bin/bash
set -e

if [ "$#" -ne 3 ]; then
echo "Expected release.properties file, repository name and branch"
exit 1
fi

TAG=$(grep scm.tag= "$1" | cut -d'=' -f2)
git remote set-url origin git@github.com:"$2".git
git fetch
git checkout "$3"
./mvnw -B --file pom.xml release:rollback
git push origin :"$TAG"
62 changes: 62 additions & 0 deletions .github/workflows/ci-build.yml
@@ -0,0 +1,62 @@
name: Build project

on:
push:
branches: [ "master"]

schedule:
- cron: '30 1 * * 1' # At 01:30 on Monday, every Monday.

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryhandler.count=5 -Dmaven.wagon.httpconnectionManager.ttlSeconds=240

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- setup: linux-x86_64-java11
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml build"
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml run build"

name: ${{ matrix.setup }}
steps:
- uses: actions/checkout@v2

# Cache .m2/repository
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ matrix.setup }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-${{ matrix.setup }}-
${{ runner.os }}-maven-

# Enable caching of Docker layers
- uses: satackey/action-docker-layer-caching@v0.0.11
continue-on-error: true
with:
key: build-docker-cache-${{ matrix.setup }}-{hash}
restore-keys: |
build-docker-cache-${{ matrix.setup }}-
build-docker-cache-

- name: Build docker image
run: docker-compose ${{ matrix.docker-compose-build }}

- name: Build project without leak detection
run: docker-compose ${{ matrix.docker-compose-run }} | tee build.output

- name: Checking for test failures
run: ./.github/scripts/check_build_result.sh build.output

- uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: target
path: "**/target/"
128 changes: 128 additions & 0 deletions .github/workflows/ci-deploy.yml
@@ -0,0 +1,128 @@
name: Deploy project

on:
push:
branches: [ "master" ]

schedule:
- cron: '30 1 * * 1' # At 01:30 on Monday, every Monday.

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryhandler.count=5 -Dmaven.wagon.httpconnectionManager.ttlSeconds=240

jobs:
stage-snapshot:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- setup: linux-x86_64-java11
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml build"
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml run stage-snapshot"
- setup: linux-aarch64
docker-compose-build: "-f docker/docker-compose.centos-7.yaml build"
docker-compose-run: "-f docker/docker-compose.centos-7.yaml run cross-compile-aarch64-stage-snapshot"

name: stage-snapshot-${{ matrix.setup }}
steps:
- uses: actions/checkout@v2

# Cache .m2/repository
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ matrix.setup }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-${{ matrix.setup }}-
${{ runner.os }}-maven-

# Enable caching of Docker layers
- uses: satackey/action-docker-layer-caching@v0.0.11
env:
docker-cache-name: staging-${{ matrix.setup }}-cache-docker
continue-on-error: true
with:
key: ${{ runner.os }}-staging-${{ env.docker-cache-name }}-{hash}
restore-keys: |
${{ runner.os }}-staging-${{ env.docker-cache-name }}-

- name: Create local staging directory
run: mkdir -p ~/local-staging

- name: Build docker image
run: docker-compose ${{ matrix.docker-compose-build }}

- name: Stage snapshots to local staging directory
run: docker-compose ${{ matrix.docker-compose-run }}

- name: Upload local staging directory
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.setup }}-local-staging
path: ~/local-staging
if-no-files-found: error

deploy-staged-snapshots:
runs-on: ubuntu-18.04
# Wait until we have staged everything
needs: stage-snapshot
steps:
- uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: '11'

# Cache .m2/repository
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-deploy-staged-snapshots-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-deploy-staged-snapshots-
${{ runner.os }}-maven-

# Setup some env to re-use later.
- name: Prepare enviroment variables
run: |
echo "LOCAL_STAGING_DIR=$HOME/local-staging" >> $GITHUB_ENV

# Hardcode the staging artifacts that need to be downloaded.
# These must match the matrix setups. There is currently no way to pull this out of the config.
- name: Download linux-aarch64 staging directory
uses: actions/download-artifact@v2
with:
name: linux-aarch64-local-staging
path: ~/linux-aarch64-local-staging

- name: Download linux-x86_64-java11 staging directory
uses: actions/download-artifact@v2
with:
name: linux-x86_64-java11-local-staging
path: ~/linux-x86_64-java11-local-staging

- name: Merge staging repositories
run: |
mkdir -p ~/local-staging/deferred
cat ~/linux-aarch64-local-staging/deferred/.index >> ~/local-staging/deferred/.index
cp -r ~/linux-aarch64-local-staging/deferred/* ~/local-staging/deferred/
cat ~/linux-x86_64-java11-local-staging/deferred/.index >> ~/local-staging/deferred/.index
cp -r ~/linux-x86_64-java11-local-staging/deferred/* ~/local-staging/deferred/

- uses: s4u/maven-settings-action@v2.2.0
with:
servers: |
[{
"id": "sonatype-nexus-snapshots",
"username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"
}]

- name: Deploy local staged artifacts
run: ./mvnw -B --file pom.xml org.sonatype.plugins:nexus-staging-maven-plugin:deploy-staged -DaltStagingDirectory=$LOCAL_STAGING_DIR
35 changes: 35 additions & 0 deletions .github/workflows/ci-pr-reports.yml
@@ -0,0 +1,35 @@
name: PR Reports
on:
workflow_run:
workflows: [ "Build PR" ]
types:
- completed
env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryhandler.count=5 -Dmaven.wagon.httpconnectionManager.ttlSeconds=240

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- setup: linux-x86_64-java11
- setup: linux-x86_64-java16
- setup: linux-x86_64-java11-boringssl
steps:
- name: Download Artifacts
uses: dawidd6/action-download-artifact@v2.11.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: ${{ github.event.workflow_run.workflow_id }}
workflow_conclusion: completed
commit: ${{ github.event.workflow_run.head_commit.id }}
# File location set in ci-pr.yml and must be coordinated.
name: test-results-${{ matrix.setup }}
- name: Publish Test Report
uses: scacap/action-surefire-report@v1.0.7
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
report_paths: '**/target/surefire-reports/TEST-*.xml'
commit: ${{ github.event.workflow_run.head_commit.id }}
check_name: ${{ matrix.setup }} test reports