Rocket/core/codegen/tests/ui-fail-nightly
Sergio Benitez 4c6562cd29 Drop 'Data' after sending a response, not before.
This allows responses to be sent to the client even when data is only
partially read, significantly improving the experience for the client
from one with a "connection closed" error to one with a proper response.
The consequence is a lifetime in 'Data'.

Though other non-lifetime-introducing solutions exist, the introduction
of a lifetime to 'Data' is a longstanding desire as it prevents
smuggling 'Data' into a longer-lived context. Use of 'Data' in that
context was unspecified with various runtime consequences. The addition
of a lifetime bound by the request prevents this error statically.

In summary, the changes are:
  * Clients receive responses even when data isn't fully read.
  * 'Data' becomes 'Data<'r>'. 'FromData' changes accordingly.
  * Route 'Outcome's are strictly tied to the request lifetime.

Tangentially, the invalid length form field validation error message has
improved to format length in byte units if it exceeds 1024.
2021-06-08 13:26:16 -07:00
..
async-entry.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
async-entry.stderr Update UI tests for latest nightly. 2021-05-18 12:00:46 -07:00
bad-ignored-segments.rs Add tests for ignored parameters '<_>'. 2020-10-30 00:47:41 -07:00
bad-ignored-segments.stderr Revamp codegen, fixing inconscpicuous bugs. 2021-03-04 02:01:25 -08:00
catch.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
catch.stderr Revamp codegen, fixing inconscpicuous bugs. 2021-03-04 02:01:25 -08:00
catch_type_errors.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
catch_type_errors.stderr Update UI tests for latest nightly. 2020-09-06 18:34:24 -07:00
catchers.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
catchers.stderr Update UI tests for latest nightly. 2021-05-18 12:00:46 -07:00
from_form.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
from_form.stderr Fix, finish 'FromForm' derive field defaults. 2021-06-03 00:05:02 -07:00
from_form_field.rs UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00
from_form_field.stderr Update UI tests for latest nightly. 2021-05-18 12:00:46 -07:00
from_form_type_errors.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
from_form_type_errors.stderr UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00
responder-types.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
responder-types.stderr Drop 'Data' after sending a response, not before. 2021-06-08 13:26:16 -07:00
responder.rs Allow custom generic bounds in 'Responder' derive. 2021-05-26 02:26:11 -07:00
responder.stderr Allow custom generic bounds in 'Responder' derive. 2021-05-26 02:26:11 -07:00
route-attribute-general-syntax.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
route-attribute-general-syntax.stderr Update UI tests for latest nightly. 2021-05-18 12:00:46 -07:00
route-path-bad-syntax.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
route-path-bad-syntax.stderr Introduce sentinels: auto-discovered launch abort. 2021-04-16 01:44:53 -07:00
route-type-errors.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
route-type-errors.stderr Drop 'Data' after sending a response, not before. 2021-06-08 13:26:16 -07:00
route-warnings.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
route-warnings.stderr Update UI tests for latest nightly. 2021-05-18 12:00:46 -07:00
routes.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
routes.stderr Update UI tests for latest nightly. 2021-05-18 12:00:46 -07:00
typed-uri-bad-type.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
typed-uri-bad-type.stderr Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
typed-uris-bad-params.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
typed-uris-bad-params.stderr Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
typed-uris-invalid-syntax.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
typed-uris-invalid-syntax.stderr Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
uri_display.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
uri_display.stderr Update UI tests for latest nightly. 2021-05-18 12:00:46 -07:00
uri_display_type_errors.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
uri_display_type_errors.stderr Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00