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

Side by Side Diff: sdk/lib/io/http_impl.dart

Issue 11612020: Revert "Switch libraries to using new tags." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/io/http.dart ('k') | sdk/lib/io/http_parser.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.io;
6
7 // The close queue handles graceful closing of HTTP connections. When 5 // The close queue handles graceful closing of HTTP connections. When
8 // a connection is added to the queue it will enter a wait state 6 // a connection is added to the queue it will enter a wait state
9 // waiting for all data written and possibly socket shutdown from 7 // waiting for all data written and possibly socket shutdown from
10 // peer. 8 // peer.
11 class _CloseQueue { 9 class _CloseQueue {
12 _CloseQueue() : _q = new Set<_HttpConnectionBase>(); 10 _CloseQueue() : _q = new Set<_HttpConnectionBase>();
13 11
14 void add(_HttpConnectionBase connection) { 12 void add(_HttpConnectionBase connection) {
15 void closeIfDone() { 13 void closeIfDone() {
16 // When either the client has closed or all data has been 14 // When either the client has closed or all data has been
(...skipping 2309 matching lines...) Expand 10 before | Expand all | Expand 10 after
2326 2324
2327 2325
2328 class _RedirectInfo implements RedirectInfo { 2326 class _RedirectInfo implements RedirectInfo {
2329 const _RedirectInfo(int this.statusCode, 2327 const _RedirectInfo(int this.statusCode,
2330 String this.method, 2328 String this.method,
2331 Uri this.location); 2329 Uri this.location);
2332 final int statusCode; 2330 final int statusCode;
2333 final String method; 2331 final String method;
2334 final Uri location; 2332 final Uri location;
2335 } 2333 }
OLDNEW
« no previous file with comments | « sdk/lib/io/http.dart ('k') | sdk/lib/io/http_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698