Commit graph

7 commits

Author SHA1 Message Date
lrn@google.com d681878a6d Revert "Switch libraries to using new tags."
It breaks completion in the editor.

TBR=danrubel@google.com

Review URL: https://codereview.chromium.org//11434030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15516 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 13:44:58 +00:00
lrn@google.com abd2cf311a Switch libraries to using new tags.
Review URL: https://codereview.chromium.org//11419032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15499 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 08:54:30 +00:00
whesse@google.com 359759884b Add HttpsServer class and test.
BUG=dart:3593

Review URL: https://codereview.chromium.org//11299228

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15452 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 15:36:10 +00:00
whesse@google.com d77dfe6ca0 Add support for https scheme in dart:io HttpClient.
BUG=

Review URL: https://codereview.chromium.org//11299210

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15450 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 13:47:17 +00:00
sgjesse@google.com 7805f03972 Generate an error for active connections when the HTTP client is shutdown
Before the underlying sockets where just silently closed causing no more IO events on active connections no matter what state they where in.

Also added an optional "force" argument to HttpClient.shutdown. If that is false (the default) The HttpClient will not close active connections until they are done. This causes all pkg/http and pub tests to pass.

R=ager@google.com, nweiz@google.com

BUG=dart:6594

Review URL: https://codereview.chromium.org//11411121

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15275 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 09:28:34 +00:00
sgjesse@google.com 6e09071a58 Make HTTP server close sockets when closed in idle state
If a connection was in the idle state and the socket was closed by the
client the server did close the connection. This caused the server to
quickly run out of resources. There was a state check missing after a
state change.

Added a COSING state as well and a way to get the number of
connections if various states.

R=ager@google.com, ajohnsen@google.com

BUG=

Review URL: https://codereview.chromium.org//11348127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15069 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 11:11:00 +00:00
dgrove@google.com 037b2f8c60 svn add sdk
svn mv lib/sdk
svn mv lib/sdk/compiler sdk/lib/_internal
svn mv pkg/dartdoc sdk/lib/_internal

(cannot gcl upload due to .png's in dartdoc)

TBR=iposva
  


git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14473 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 14:53:15 +00:00
Renamed from lib/io/http.dart (Browse further)