-
Updated
Feb 8, 2022 - Java
netty
Here are 1,325 public repositories matching this topic...
-
Updated
May 18, 2022
-
Updated
Jun 2, 2022 - Java
-
Updated
Jun 3, 2022 - Java
Not that complicated to implement:
- introduce in SslClientContext the same kind of changes as in SslServerContext so it's no longer
A failed HttpResponse
can be converted into a normal HttpResponse
using HttpResponse.recover(...)
.
For example:
HttpResponse failed = HttpResponse.ofFailure(new IllegalArgumentException("..."));
failed.recover(cause -> {
if (cause instanceof IllegalArgumentException) {
return HttpResponse.of(HttpStatus.BAD_REQUEST);
}
if (cause instanceof IllegalStateExcepti
-
Updated
May 31, 2022 - Java
-
Updated
May 24, 2022 - Java
-
Updated
Jun 4, 2022 - Java
-
Updated
Aug 10, 2021
-
Updated
Nov 15, 2021 - Java
Motivation
I recently ran into an issue where an exception thrown in Micrometer caused my request to break. The actual issue I ran into is not in reactor although reactor was used. However as reactor uses Micrometer as well and e.g. [here|https://github.com/reactor/reactor-netty/blob/main/reactor-netty-core/src/main/java/reactor/netty/channel/AbstractChannelMetricsHandler.java] there also does
-
Updated
Dec 9, 2021 - Java
-
Updated
May 25, 2022 - Java
-
Updated
Jun 2, 2022 - Scala
-
Updated
May 20, 2022 - Java
-
Updated
Feb 16, 2022 - Java
-
Updated
Feb 9, 2022 - Java
-
Updated
Jun 2, 2022 - Java
Demonstrate how MultiAddressHttpClientBuilder.SingleAddressInitializer can be used to configure underlying clients based on host and port.
An example can be based on one of the http/helloworld examples. Not necessary to repeat all 4 API variants. The goal is only to demonstrate builder features. For example,
-
Updated
May 25, 2022 - Java
If you r going to wait response,or block the goroutine in a getty session(tcp conection), task pool can not be null。
func (s *Server) newSession(session getty.Session) error {
var (
ok bool
tcpConn *net.TCPConn
)
// 省略部分代码...
session.SetTaskPool(srvGrpool)
return nil
}
ortherwise,handleTcpPackage() will blocked,led to the response missing
func (s *session
-
Updated
Jun 1, 2022 - Java
Improve this page
Add a description, image, and links to the netty topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the netty topic, visit your repo's landing page and select "manage topics."
这里的路由和server通信是否可以用一个长连接来维护更好