Brian Clozel d3cd569e94 SSE and WS handlers cancel when client disconnects
Prior to this commit, Server Sent Events and WebSocket handlers for MVC
would not behave properly in case the client disconnects while the
response is written to. This would throw an `IOException` processed by
the `BaseSubscriber` handlers, but would not actively cancel the
upstream publisher. This means the publisher would keep publishing
values even though it is not possible to write to the connection
anymore.

This commit ensures that any exception triggers a cancel signal sent to
the upstream publisher to avoid such cases.

Fixes gh-1060
2024-09-26 14:20:44 +02:00
2024-07-11 22:05:07 +02:00
2024-07-16 13:54:58 +02:00
2024-07-16 13:47:29 +02:00
2023-03-02 12:15:08 +00:00
2024-08-21 18:12:48 +02:00
2024-07-16 13:54:58 +02:00
2024-07-16 13:54:58 +02:00
2020-07-23 09:40:14 +03:00
2024-04-16 17:33:20 +02:00

Spring for GraphQL Build status Revved up by Develocity

GraphQL support for Spring applications with GraphQL Java.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Documentation

This project has reference documentation (published and source), an API reference. There are samples in the 1.0.x branch that will be moved out into a separate repository.

Continuous Integration Builds

Information regarding CI builds can be found in the project's Concourse pipeline documentation.

Stay in Touch

Follow @SpringCentral.

Getting Support

Check out the Spring GraphQL tags on Stack Overflow. Commercial support is available too.

License

This project is released under version 2.0 of the Apache License.

Description
No description provided
Readme 5.9 MiB
Languages
Java 97.9%
CSS 1.2%
Shell 0.7%
HTML 0.2%