Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: tests/standalone/io/http_server_response_test.dart

Issue 2618523005: Make HTTP headers use a growing buffer, not a fixed-size 8K one. (Closed)
Patch Set: Remove error message and tests expecting it. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/io/http_client_request_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_server_response_test.dart
diff --git a/tests/standalone/io/http_server_response_test.dart b/tests/standalone/io/http_server_response_test.dart
index c3c0afb51d6326fb79d28afd0f7da37f4a23433f..a6c06aff34072797b1870cf7106bf97b8285071b 100644
--- a/tests/standalone/io/http_server_response_test.dart
+++ b/tests/standalone/io/http_server_response_test.dart
@@ -281,20 +281,6 @@ void testIgnoreRequestData() {
}
-void testBadHeaders() {
- testServerRequest((server, request) {
- var value = "a";
- for (int i = 0; i < 8 * 1024; i++) {
- value += 'a';
- }
- request.response.headers.set('name', value);
- request.response.close().catchError((error) {
- server.close();
- }, test: (e) => e is HttpException);
- });
-}
-
-
void testWriteCharCode() {
testServerRequest((server, request) {
// Test that default is latin-1 (only 2 bytes).
@@ -315,6 +301,5 @@ void main() {
testBadResponseAdd();
testBadResponseClose();
testIgnoreRequestData();
- testBadHeaders();
testWriteCharCode();
}
« no previous file with comments | « tests/standalone/io/http_client_request_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698