nweiz@google.com
5741f611ba
Update pkg/http to use the new async APIs.
...
Review URL: https://codereview.chromium.org//11825010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16834 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 03:10:42 +00:00
ajohnsen@google.com
32eeecd930
Fix tests for VM in checked mode.
...
BUG=
Review URL: https://codereview.chromium.org//11801008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16689 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:59:49 +00:00
floitsch@google.com
4a7dfd2da3
Big merge from experimental to bleeding edge.
...
Review URL: https://codereview.chromium.org//11783009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
rnystrom@google.com
ac04fc6c18
Convert pkg/http to use "package:" imports.
...
Review URL: https://codereview.chromium.org//11746009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16620 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-04 00:10:47 +00:00
floitsch@google.com
319d50ea22
Make request_test wait for its results.
...
Review URL: https://codereview.chromium.org//11644025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16341 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 21:16:38 +00:00
rnystrom@google.com
89dbb7be66
Add "toString()" to BaseRequest.
...
Review URL: https://codereview.chromium.org//11480003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15869 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 21:49:27 +00:00
rnystrom@google.com
e3bc775e68
Revert "Add logging system to pub and sprinkle some logging in."
...
This reverts commit 60468a1a0854389bb3f460cf2368f22013f1af31.
BUG=
Review URL: https://codereview.chromium.org//11472016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15830 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:48:12 +00:00
rnystrom@google.com
578c415134
Add logging system to pub and sprinkle some logging in.
...
We'll have to tune which things we log over time, but this covers
most IO operations which is where almost all of our problems come
from.
This patch also means that going forward you should no longer call
print() or printError() (which is gone) directly. Instead:
print() -> log.message()
printError() -> log.error()
That ensures all messages will correctly get added to the log's
transcript.
Review URL: https://codereview.chromium.org//11437019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15827 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:29:23 +00:00
nweiz@google.com
06e7344e22
Make #maxRedirects and #followRedirects work for the dart:io HTTP client.
...
Review URL: https://codereview.chromium.org//11414195
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15433 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 01:54:16 +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
ada7ba7414
Add debug print to try to find the issue with test pkg/http/test/request_test.dart
...
The flakines of the test have not been reproduced locally (neither on
Linux nor on Windows). Adding debug print for more diagnstics.
R=ahe@google.com
BUG=
Review URL: https://codereview.chromium.org//11369096
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14579 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 15:57:39 +00:00
nweiz@google.com
549efe3bdf
Add an HTTP library that wraps dart:io.
...
Review URL: https://codereview.chromium.org//11363063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14502 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 20:55:01 +00:00
nweiz@google.com
e6a33d23fb
Reverting 14496
...
Review URL: https://codereview.chromium.org//11293075
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14498 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 20:13:14 +00:00
nweiz@google.com
f6f3e1d556
Add an HTTP library that wraps dart:io.
...
Review URL: https://codereview.chromium.org//11338054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14496 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 19:45:04 +00:00