Files
sdk/pkg
paulberry@google.com ab56da71ce Fix race condition with "server already started" error.
We can't report the "server already started" error prior to the call
to WebSocketTransformer.upgrade(), because it's possible that a
different client will successfully establish a connection during the
upgrade process.  Instead, check after the call to upgrade().  This
means that if there is an error, we have to report it via a
RequestError object rather than using an HTTP error.

When we add stdio as a transport mechanism, this will have the further
advantage of allowing the "server already started" error to be
detected by code that is independent of the transport mechanism.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35046 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-14 22:13:10 +00:00
..
2014-01-13 18:07:45 +00:00
2014-02-26 21:22:22 +00:00
2014-01-13 18:07:45 +00:00
2014-04-07 09:27:27 +00:00
2014-04-03 00:27:51 +00:00
2014-03-25 00:12:36 +00:00
2013-12-19 12:36:15 +00:00
2014-04-11 21:02:25 +00:00
2014-01-13 18:07:45 +00:00
2014-01-13 18:07:45 +00:00
2014-01-13 18:07:45 +00:00