]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
10 years agoFix unicode syntax for Python 3. 1460/head
Ian Mackinnon [Thu, 2 Jul 2015 11:57:04 +0000 (13:57 +0200)] 
Fix unicode syntax for Python 3.

10 years agoAdd Google OAuth2 user info request.
Ian Mackinnon [Thu, 2 Jul 2015 11:36:20 +0000 (13:36 +0200)] 
Add Google OAuth2 user info request.

10 years agoUpdate outdated comment.
Ben Darnell [Wed, 1 Jul 2015 22:33:43 +0000 (18:33 -0400)] 
Update outdated comment.

10 years agoIntroduce OAuth2Mixin.oauth2_request.
Ben Darnell [Sun, 28 Jun 2015 20:41:46 +0000 (16:41 -0400)] 
Introduce OAuth2Mixin.oauth2_request.

This method can serve as a general replacement for methods like
FacebookGraphMixin.facebook_request.

Update docs for GoogleOAuth2Mixin.get_authenticated_user to indicate
that only the tokens are returned, not other user information.

Add some basic tests for GoogleOAuth2Mixin.

This commit incorporates code from FanFani4 in #1212 and
kippandrew in #1454.

10 years agoDocument StaticFileHandler's default_filename option.
Ben Darnell [Sun, 21 Jun 2015 18:08:21 +0000 (14:08 -0400)] 
Document StaticFileHandler's default_filename option.

10 years agoClear __package__ in script run by autoreload CLI.
Ben Darnell [Sun, 21 Jun 2015 17:57:28 +0000 (13:57 -0400)] 
Clear __package__ in script run by autoreload CLI.

This prevents imports from incorrectly being interpreted as
relative to the 'tornado package, which would make the standard
'platform' module unimportable.

See bdarnell/plop#21

10 years agoSupport Python 3.5 async/await native coroutines.
Ben Darnell [Thu, 11 Jun 2015 04:05:36 +0000 (00:05 -0400)] 
Support Python 3.5 async/await native coroutines.

Requires changes to be included in 3.5b3.

10 years agoGet the tests passing under Python 3.5b2
Ben Darnell [Sat, 6 Jun 2015 19:40:21 +0000 (15:40 -0400)] 
Get the tests passing under Python 3.5b2

10 years agoBump version number to 4.3.dev1
Ben Darnell [Sat, 6 Jun 2015 19:39:56 +0000 (15:39 -0400)] 
Bump version number to 4.3.dev1

10 years agoSet version number to 4.2.0 v4.2.0
Ben Darnell [Wed, 27 May 2015 01:46:05 +0000 (21:46 -0400)] 
Set version number to 4.2.0

10 years agoClarify release notes about create_default_context.
Ben Darnell [Wed, 27 May 2015 01:44:02 +0000 (21:44 -0400)] 
Clarify release notes about create_default_context.

Encourage use of SSLContext on the server side.

10 years agoMerge pull request #1446 from nero-luci/patch-1
Ben Darnell [Mon, 25 May 2015 14:24:22 +0000 (10:24 -0400)] 
Merge pull request #1446 from nero-luci/patch-1

[httputil.py] Word correction

10 years ago[httputil.py] Word correction 1446/head
Cornel Punga [Mon, 25 May 2015 07:44:11 +0000 (10:44 +0300)] 
[httputil.py] Word correction

10 years agoDisable twisted's test_process on python 3.
Ben Darnell [Wed, 20 May 2015 01:46:21 +0000 (21:46 -0400)] 
Disable twisted's test_process on python 3.

The new twisted 15.2.0 has some failures in this test that appear to be
interactions between the two package's test suites rather than a problem
in the integration itself, so just disable the tests for now.

10 years agoFix title of 4.2 release notes page v4.2.0b1
Ben Darnell [Sun, 10 May 2015 17:16:50 +0000 (13:16 -0400)] 
Fix title of 4.2 release notes page

10 years agoAdd missing release notes file.
Ben Darnell [Sun, 10 May 2015 17:12:52 +0000 (13:12 -0400)] 
Add missing release notes file.

10 years agoSet version number to 4.2b1
Ben Darnell [Sun, 10 May 2015 17:08:59 +0000 (13:08 -0400)] 
Set version number to 4.2b1

10 years agoUpdate release notes
Ben Darnell [Sun, 10 May 2015 02:28:35 +0000 (22:28 -0400)] 
Update release notes

10 years agoDocument RequestHandler.patch.
Ben Darnell [Sun, 10 May 2015 01:55:00 +0000 (21:55 -0400)] 
Document RequestHandler.patch.

Add an example for overriding SUPPORTED_METHODS.

10 years agoMerge pull request #1436 from alunduil/add-dcos-to-sdist
Ben Darnell [Fri, 8 May 2015 03:03:27 +0000 (23:03 -0400)] 
Merge pull request #1436 from alunduil/add-dcos-to-sdist

add docs recursively to MANIFEST.in

10 years agoadd docs recursively to MANIFEST.in 1436/head
Alex Brandt [Sun, 3 May 2015 14:45:20 +0000 (09:45 -0500)] 
add docs recursively to MANIFEST.in

When packaging tornado for Gentoo I found the documentation was not
available in the sdist provided on pypi.  This adds the documentation so
that users can choose to install it locally.

10 years agoRemove weak reference from WaitIterator.
Ben Darnell [Wed, 6 May 2015 05:16:30 +0000 (22:16 -0700)] 
Remove weak reference from WaitIterator.

This reference is the only thing holding the asynchronous "stack"
together in some cases, so making it weak could allow coroutines
to be garbage collected while running. This was mainly a problem
on Python 3.4, which is much better at garbage collecting generators
than older versions.

Fixes #1429.

10 years agoEcho the received websocket close code.
Ben Darnell [Wed, 6 May 2015 05:14:05 +0000 (22:14 -0700)] 
Echo the received websocket close code.

Fixes #1377.

10 years agoDocument (ignored) timeout argument to Future methods.
Ben Darnell [Wed, 6 May 2015 05:04:09 +0000 (22:04 -0700)] 
Document (ignored) timeout argument to Future methods.

Closes #1435.

10 years agoMerge pull request #1432 from szweep/unescape_fix
Ben Darnell [Wed, 29 Apr 2015 01:12:09 +0000 (21:12 -0400)] 
Merge pull request #1432 from szweep/unescape_fix

Modify xhtml_unescape to handle hex numeric refs

10 years agoModify xhtml_unescape to handle hex numeric refs 1432/head
szweep [Thu, 23 Apr 2015 18:33:17 +0000 (14:33 -0400)] 
Modify xhtml_unescape to handle hex numeric refs

While the existing code handles references like   properly,
it doesn't handle the valid case where the number is specified
in hex. For example 'foo bar', 'foo bar' and 'foo bar'
should all decode to 'foo bar'. The changes in escape.py check
for the 'x' and decode appropriately. Also added unit tests for
unescaping strings with numeric references.

10 years agoMerge pull request #1431 from ajdavis/changelog-event-fix
Ben Darnell [Fri, 24 Apr 2015 14:01:30 +0000 (10:01 -0400)] 
Merge pull request #1431 from ajdavis/changelog-event-fix

More detail about porting from toro.Event.

10 years agoMerge pull request #1430 from ajdavis/spelling
Ben Darnell [Fri, 24 Apr 2015 13:51:15 +0000 (09:51 -0400)] 
Merge pull request #1430 from ajdavis/spelling

Spelling.

10 years agoMore detail about porting from toro.Event. 1431/head
A. Jesse Jiryu Davis [Fri, 24 Apr 2015 13:32:34 +0000 (09:32 -0400)] 
More detail about porting from toro.Event.

10 years agoSpelling. 1430/head
A. Jesse Jiryu Davis [Fri, 24 Apr 2015 13:25:39 +0000 (09:25 -0400)] 
Spelling.

10 years agoMake HTTPHeaders compatible with copy.copy and copy.deepcopy.
Ben Darnell [Sun, 19 Apr 2015 17:18:46 +0000 (13:18 -0400)] 
Make HTTPHeaders compatible with copy.copy and copy.deepcopy.

10 years agoMerge pull request #1399 from martinhoefling/master
Ben Darnell [Sun, 19 Apr 2015 16:53:54 +0000 (12:53 -0400)] 
Merge pull request #1399 from martinhoefling/master

Cookie secret key versioning support

10 years agoMore doc updates.
Ben Darnell [Sun, 19 Apr 2015 16:37:43 +0000 (12:37 -0400)] 
More doc updates.

10 years agoUpdate release notes
Ben Darnell [Sun, 19 Apr 2015 16:05:29 +0000 (12:05 -0400)] 
Update release notes

10 years agoMerge pull request #1423 from ajdavis/changelog-locks-and-queues
Ben Darnell [Sun, 19 Apr 2015 15:27:41 +0000 (11:27 -0400)] 
Merge pull request #1423 from ajdavis/changelog-locks-and-queues

Document Lock, notes for porting from Toro.

10 years agoMerge pull request #1422 from ajdavis/timeouts-not-deadlines
Ben Darnell [Sun, 19 Apr 2015 15:22:13 +0000 (11:22 -0400)] 
Merge pull request #1422 from ajdavis/timeouts-not-deadlines

Timeouts not deadlines.

10 years agoMerge branch 'master' of https://github.com/tornadoweb/tornado 1399/head
Martin Hoefling [Sun, 19 Apr 2015 13:23:45 +0000 (15:23 +0200)] 
Merge branch 'master' of https://github.com/tornadoweb/tornado

10 years agoDocumentation for key versioning added
Martin Hoefling [Sun, 19 Apr 2015 13:13:51 +0000 (15:13 +0200)] 
Documentation for key versioning added

10 years agoKey versioning: review comments addressed
Martin Hoefling [Sun, 19 Apr 2015 12:47:18 +0000 (14:47 +0200)] 
Key versioning: review comments addressed

10 years agoNotes for porting from Toro to Tornado. 1423/head
A. Jesse Jiryu Davis [Sun, 19 Apr 2015 03:10:56 +0000 (23:10 -0400)] 
Notes for porting from Toro to Tornado.

10 years agoDocument the Lock class.
A. Jesse Jiryu Davis [Sun, 19 Apr 2015 03:04:13 +0000 (23:04 -0400)] 
Document the Lock class.

10 years agoDelay shutdown of the IOLoop in sync HTTPClient test.
Ben Darnell [Sun, 19 Apr 2015 02:54:31 +0000 (22:54 -0400)] 
Delay shutdown of the IOLoop in sync HTTPClient test.

This appears to cause spurious logs in HTTP/2 tests.

10 years agoReplace 'deadline' with 'timeout' for Lock.acquire. 1422/head
A. Jesse Jiryu Davis [Sun, 19 Apr 2015 02:43:56 +0000 (22:43 -0400)] 
Replace 'deadline' with 'timeout' for Lock.acquire.

10 years agoCondition.wait examples should show timeout, not deadline.
A. Jesse Jiryu Davis [Sun, 19 Apr 2015 02:40:34 +0000 (22:40 -0400)] 
Condition.wait examples should show timeout, not deadline.

10 years agoFix WaitIterator when no hard reference is kept.
Ben Darnell [Sat, 18 Apr 2015 23:19:00 +0000 (19:19 -0400)] 
Fix WaitIterator when no hard reference is kept.

Closes #1397.

10 years agoClean up and document run_on_executor kwargs change.
Ben Darnell [Sat, 18 Apr 2015 22:53:38 +0000 (18:53 -0400)] 
Clean up and document run_on_executor kwargs change.

10 years agoMerge pull request #1406 from legnaleurc/run_on_executor
Ben Darnell [Sat, 18 Apr 2015 22:41:53 +0000 (18:41 -0400)] 
Merge pull request #1406 from legnaleurc/run_on_executor

Add arguments to run_on_executor

10 years agoFix exception handling in CurlAsyncHTTPClient._process_queue.
Ben Darnell [Sat, 18 Apr 2015 22:15:14 +0000 (18:15 -0400)] 
Fix exception handling in CurlAsyncHTTPClient._process_queue.

Previously it would allow exceptions to escape, which worked only if
_process_queue were called by fetch_impl instead of
_finish_pending_requests.

Closes #1413.

10 years agoAdd raise_error behavior to Subprocess.wait_for_exit.
Ben Darnell [Sat, 18 Apr 2015 18:12:44 +0000 (14:12 -0400)] 
Add raise_error behavior to Subprocess.wait_for_exit.

Closes #1205.

10 years agoMerge pull request #1419 from kippandrew/fix-client-max-body
Ben Darnell [Sat, 18 Apr 2015 17:52:14 +0000 (13:52 -0400)] 
Merge pull request #1419 from kippandrew/fix-client-max-body

Add max_body_size parameter to SimpleHTTPClient

10 years agoUse the correct expression for detecting the presence of asyncio.
Ben Darnell [Sat, 18 Apr 2015 16:21:10 +0000 (12:21 -0400)] 
Use the correct expression for detecting the presence of asyncio.

10 years agoFix typo in travis.yml
Ben Darnell [Sat, 18 Apr 2015 16:06:40 +0000 (12:06 -0400)] 
Fix typo in travis.yml

10 years agoAdd AsyncIOLoop to travis.yml
Ben Darnell [Sat, 18 Apr 2015 16:00:31 +0000 (12:00 -0400)] 
Add AsyncIOLoop to travis.yml

10 years agoAdd **kwargs to IOLoop initializers.
Ben Darnell [Sat, 18 Apr 2015 15:57:22 +0000 (11:57 -0400)] 
Add **kwargs to IOLoop initializers.

This makes them compatible with the new make_current argument.

Add additional delay in test_streaming_until_close_future
for compatibility with AsyncIOLoop.

10 years agoMerge pull request #1421 from ajdavis/spider-example
Ben Darnell [Fri, 17 Apr 2015 14:29:38 +0000 (10:29 -0400)] 
Merge pull request #1421 from ajdavis/spider-example

Add a web spider example to demonstrate Queue.

10 years agoRemove unnecessary "start-file" markup. 1421/head
A. Jesse Jiryu Davis [Fri, 17 Apr 2015 14:04:35 +0000 (10:04 -0400)] 
Remove unnecessary "start-file" markup.

10 years agoRemove redundant description of web-spider demo.
A. Jesse Jiryu Davis [Wed, 15 Apr 2015 01:29:23 +0000 (21:29 -0400)] 
Remove redundant description of web-spider demo.

10 years agoAdd a web spider example to demonstrate Queue.
A. Jesse Jiryu Davis [Wed, 15 Apr 2015 01:24:42 +0000 (21:24 -0400)] 
Add a web spider example to demonstrate Queue.

10 years agoFix for python 3 1419/head
Andy Kipp [Tue, 14 Apr 2015 15:27:55 +0000 (11:27 -0400)] 
Fix for python 3

10 years agoSend max_body_size to HTTP1Connection
Andy Kipp [Tue, 14 Apr 2015 14:18:54 +0000 (10:18 -0400)] 
Send max_body_size to HTTP1Connection

10 years agoMerge pull request #1417 from ajdavis/locks-doctests
Ben Darnell [Mon, 13 Apr 2015 19:25:43 +0000 (20:25 +0100)] 
Merge pull request #1417 from ajdavis/locks-doctests

Move doctests from locks.rst to locks.py.

10 years agoMove doctests from locks.rst to locks.py docstrings. 1417/head
A. Jesse Jiryu Davis [Sun, 12 Apr 2015 21:16:08 +0000 (17:16 -0400)] 
Move doctests from locks.rst to locks.py docstrings.

For consistency with queues doctests.

10 years agoMerge pull request #1416 from ajdavis/reliable-queues-doctest
Ben Darnell [Sun, 12 Apr 2015 20:19:31 +0000 (21:19 +0100)] 
Merge pull request #1416 from ajdavis/reliable-queues-doctest

reliable-queues-doctest

10 years agoReliable Semaphore doctest. 1416/head
A. Jesse Jiryu Davis [Sun, 12 Apr 2015 17:28:46 +0000 (13:28 -0400)] 
Reliable Semaphore doctest.

100ms sleep doesn't always order the test output on Travis slaves.

10 years agoMerge pull request #1409 from ajdavis/document-queues
Ben Darnell [Fri, 10 Apr 2015 16:46:56 +0000 (17:46 +0100)] 
Merge pull request #1409 from ajdavis/document-queues

Document queues.

10 years agoMerge pull request #1408 from ajdavis/doc-bounded-sem
Ben Darnell [Fri, 10 Apr 2015 16:46:47 +0000 (17:46 +0100)] 
Merge pull request #1408 from ajdavis/doc-bounded-sem

Document locks.BoundedSemaphore.

10 years agoRemove redundant doctest of BoundedSemaphore.release. 1408/head
A. Jesse Jiryu Davis [Fri, 10 Apr 2015 04:01:58 +0000 (00:01 -0400)] 
Remove redundant doctest of BoundedSemaphore.release.

10 years agoMove doctests from queues.rst to queues.py. 1409/head
A. Jesse Jiryu Davis [Fri, 10 Apr 2015 03:58:17 +0000 (23:58 -0400)] 
Move doctests from queues.rst to queues.py.

10 years agoAdd "autoclass" for PriorityQueue and LifoQueue.
A. Jesse Jiryu Davis [Fri, 10 Apr 2015 03:50:12 +0000 (23:50 -0400)] 
Add "autoclass" for PriorityQueue and LifoQueue.

10 years agoUse autoexception for QueueFull/Empty docs.
A. Jesse Jiryu Davis [Fri, 10 Apr 2015 03:43:55 +0000 (23:43 -0400)] 
Use autoexception for QueueFull/Empty docs.

10 years agoMerge pull request #1412 from abhinav/master
Ben Darnell [Thu, 9 Apr 2015 02:10:04 +0000 (22:10 -0400)] 
Merge pull request #1412 from abhinav/master

Allow the same future multiple times in `multi_future`

10 years agoMerge pull request #1411 from Liuchang0812/fix-format
Ben Darnell [Wed, 8 Apr 2015 03:53:29 +0000 (23:53 -0400)] 
Merge pull request #1411 from Liuchang0812/fix-format

use key-word "super" replace hard code

10 years agoAllow the same future multiple times in `multi_future` 1412/head
Abhinav Gupta [Tue, 7 Apr 2015 18:57:45 +0000 (11:57 -0700)] 
Allow the same future multiple times in `multi_future`

This prevents failures in cases like the following:

    f = <some future>
    yield [f, f]

10 years agoUpdate blog.py 1411/head
whu_liuchang [Sun, 5 Apr 2015 12:04:50 +0000 (20:04 +0800)] 
Update blog.py

use recommended style

10 years agoDocument queues.
A. Jesse Jiryu Davis [Sat, 4 Apr 2015 13:08:22 +0000 (09:08 -0400)] 
Document queues.

10 years agoDocument locks.BoundedSemaphore.
A. Jesse Jiryu Davis [Sat, 4 Apr 2015 12:39:11 +0000 (08:39 -0400)] 
Document locks.BoundedSemaphore.

10 years agoMerge pull request #1405 from scipetr/patch-1
Ben Darnell [Fri, 3 Apr 2015 17:52:49 +0000 (13:52 -0400)] 
Merge pull request #1405 from scipetr/patch-1

Fixed autoreload for Python 3

10 years agoAdd testcases. 1406/head
Wei-Cheng Pan [Thu, 2 Apr 2015 14:22:36 +0000 (23:22 +0900)] 
Add testcases.

10 years agoFixed autoreload for Python 3 1405/head
Evgeniy Dobrohvalov [Thu, 2 Apr 2015 13:49:36 +0000 (16:49 +0300)] 
Fixed autoreload for Python 3

Changed th system module values check to return a list.
In Python 3 it returns a dict_view which could occassionally produce
a runtime error of "dictionary changed size during iteration".

10 years agoAllow clients to specify attrs in decorator.
Wei-Cheng Pan [Tue, 31 Mar 2015 10:15:49 +0000 (18:15 +0800)] 
Allow clients to specify attrs in decorator.

Clients can specify `executor` and `io_loop` attribute name in
`run_on_executor` decorator.

10 years agoMerge pull request #1401 from ajdavis/document-semaphore
Ben Darnell [Tue, 31 Mar 2015 03:30:56 +0000 (23:30 -0400)] 
Merge pull request #1401 from ajdavis/document-semaphore

Document locks.Semaphore.

10 years agoDocument locks.Semaphore. 1401/head
A. Jesse Jiryu Davis [Tue, 31 Mar 2015 02:41:05 +0000 (22:41 -0400)] 
Document locks.Semaphore.

10 years agoUse more consistent language in exception logs.
Ben Darnell [Mon, 30 Mar 2015 03:22:55 +0000 (23:22 -0400)] 
Use more consistent language in exception logs.

10 years agoClean up some more tests that fail or log with HTTP/2.
Ben Darnell [Mon, 30 Mar 2015 00:55:28 +0000 (20:55 -0400)] 
Clean up some more tests that fail or log with HTTP/2.

10 years agoAdd make_current keyword argument to IOLoop constructor.
Ben Darnell [Sun, 29 Mar 2015 20:22:26 +0000 (16:22 -0400)] 
Add make_current keyword argument to IOLoop constructor.

This allows applications to create an IOLoop to be started in another
thread without making it current in the originating thread.

Update docs to use IOLoop.current() in place of IOLoop.instance() when
starting the loop.

Closes #1390.

10 years agoAdd a quiet_exceptions argument to gen.Multi and gen.multi_future.
Ben Darnell [Sun, 29 Mar 2015 18:17:36 +0000 (14:17 -0400)] 
Add a quiet_exceptions argument to gen.Multi and gen.multi_future.

Closes #1378.

10 years agogen.multi_future and gen.Multi log any exceptions after the first.
Ben Darnell [Sun, 29 Mar 2015 18:04:46 +0000 (14:04 -0400)] 
gen.multi_future and gen.Multi log any exceptions after the first.

They were already logged when the Future was GC'd, but this is
cleaner and more reliable than the destructor hook.

See #1378.

10 years agoUpdate next-release notes
Ben Darnell [Sun, 29 Mar 2015 16:55:21 +0000 (12:55 -0400)] 
Update next-release notes

10 years agoRemove the deprecated/obsolete auth mixins.
Ben Darnell [Sun, 29 Mar 2015 16:05:30 +0000 (12:05 -0400)] 
Remove the deprecated/obsolete auth mixins.

Both Google's OpenID service and FriendFeed are slated to shut down
before the next release of Tornado, and FacebookMixin has been
deprecated in favor of OAuth 2.0 for a long time.

10 years agoMerge remote-tracking branch 'origin/stable'
Ben Darnell [Sun, 29 Mar 2015 15:47:32 +0000 (11:47 -0400)] 
Merge remote-tracking branch 'origin/stable'

10 years agoReplace blog demo's google login with a simple email/password scheme.
Ben Darnell [Sun, 29 Mar 2015 15:45:50 +0000 (11:45 -0400)] 
Replace blog demo's google login with a simple email/password scheme.

10 years agoCookie secret key versioning support
Martin Hoefling [Sun, 29 Mar 2015 15:00:59 +0000 (17:00 +0200)] 
Cookie secret key versioning support

10 years agoAdd a docker-based environment for running the blog demo.
Ben Darnell [Sat, 28 Mar 2015 19:27:56 +0000 (15:27 -0400)] 
Add a docker-based environment for running the blog demo.

10 years agoRemove GoogleMixin auth demo.
Ben Darnell [Sat, 28 Mar 2015 16:43:09 +0000 (12:43 -0400)] 
Remove GoogleMixin auth demo.

GoogleMixin is going away, and the remaining auth varieties are covered
by the facebook and twitter demos.

10 years agoRemove authentication from chat demo.
Ben Darnell [Sat, 28 Mar 2015 16:34:14 +0000 (12:34 -0400)] 
Remove authentication from chat demo.

Google OpenID authentication is shutting down soon and its replacement
requires app registration, so it's better to make this demo like the
websocket one to show off long-polling concepts without auth-related
complexity.

10 years agoMerge pull request #1398 from ajdavis/event-doc
Ben Darnell [Sat, 28 Mar 2015 15:14:21 +0000 (11:14 -0400)] 
Merge pull request #1398 from ajdavis/event-doc

Document locks.Event.

10 years agoClarify event.wait's blocking behavior. 1398/head
A. Jesse Jiryu Davis [Sat, 28 Mar 2015 10:02:32 +0000 (06:02 -0400)] 
Clarify event.wait's blocking behavior.

10 years agoMore concise locks examples.
A. Jesse Jiryu Davis [Fri, 27 Mar 2015 10:20:40 +0000 (06:20 -0400)] 
More concise locks examples.

10 years agoDocument locks.Event.
A. Jesse Jiryu Davis [Fri, 27 Mar 2015 10:17:31 +0000 (06:17 -0400)] 
Document locks.Event.

10 years agoFix read_until_close's Future return with streaming_callback.
Ben Darnell [Fri, 27 Mar 2015 03:50:15 +0000 (23:50 -0400)] 
Fix read_until_close's Future return with streaming_callback.

Fixes #1395.