]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
9 years agoMissing hint in documentation 1587/head
Hermann Schachner [Fri, 20 Nov 2015 12:59:58 +0000 (13:59 +0100)] 
Missing hint in documentation

I did not realize that RequestHandler.initialize() is called before every single request.
For me, 'subclass initialization' suggest that this function were called only once for each subclass definition.
(Seems like I am not the only one: http://stackoverflow.com/questions/15199028/does-initialize-in-tornado-web-requesthandler-get-called-every-time-for-a-reques)

9 years agohttpclient: Document that HTTPError is not the only possible error
Ben Darnell [Sat, 14 Nov 2015 17:09:03 +0000 (12:09 -0500)] 
httpclient: Document that HTTPError is not the only possible error

9 years agoMerge pull request #1582 from minrk/free-list-on-fail
Ben Darnell [Thu, 12 Nov 2015 01:14:02 +0000 (20:14 -0500)] 
Merge pull request #1582 from minrk/free-list-on-fail

CurlAsyncHTTPClient: free_list starvation if setup fails

9 years agotest failure to set up curl http requests 1582/head
Min RK [Wed, 11 Nov 2015 13:32:00 +0000 (14:32 +0100)] 
test failure to set up curl http requests

ensure that it doesn't starve free curl client list

9 years agoCurlAsyncHTTPClient: free_list starvation if setup fails
Min RK [Wed, 11 Nov 2015 12:22:08 +0000 (13:22 +0100)] 
CurlAsyncHTTPClient: free_list starvation if setup fails

If `_curl_setup_request` fails,
the failing curl instance would be permanently excluded from free_list,
because `_finish` will never be called.
Once this has happens `max_clients` times,
no future request will ever complete.

9 years agoMerge pull request #1579 from felixonmars/monotonic
Ben Darnell [Sat, 7 Nov 2015 22:23:40 +0000 (17:23 -0500)] 
Merge pull request #1579 from felixonmars/monotonic

Add monotonic as an alternative to Monotime

9 years agoAdd monotonic as an alternative to Monotime 1579/head
Felix Yan [Sat, 7 Nov 2015 05:53:09 +0000 (13:53 +0800)] 
Add monotonic as an alternative to Monotime

9 years agoMerge pull request #1578 from bdarnell/streamline-travis
Ben Darnell [Sat, 7 Nov 2015 02:09:22 +0000 (21:09 -0500)] 
Merge pull request #1578 from bdarnell/streamline-travis

Streamline travis-ci build.

9 years agoStreamline travis-ci build. 1578/head
Ben Darnell [Sat, 7 Nov 2015 01:03:18 +0000 (20:03 -0500)] 
Streamline travis-ci build.

Instead of running a DEPS=false version of every test, just run one
test environment per version and use a separate virtualenv for basic
tests in the DEPS=false case.

9 years agoMerge pull request #1568 from chrisseto/patch-2
Ben Darnell [Sat, 7 Nov 2015 00:55:34 +0000 (19:55 -0500)] 
Merge pull request #1568 from chrisseto/patch-2

Cast start_line.code to an integer

9 years agoMerge pull request #1576 from ewang/master
Ben Darnell [Sat, 7 Nov 2015 00:55:18 +0000 (19:55 -0500)] 
Merge pull request #1576 from ewang/master

Override __setitem__ in tornado.options

9 years agoMerge pull request #1574 from macro/master
Ben Darnell [Sat, 7 Nov 2015 00:54:48 +0000 (19:54 -0500)] 
Merge pull request #1574 from macro/master

Fixes #1573: Use 127.0.0.1 when binding test server socket

9 years agoMerge pull request #1477 from bdarnell/drop-26
Ben Darnell [Sat, 7 Nov 2015 00:52:29 +0000 (19:52 -0500)] 
Merge pull request #1477 from bdarnell/drop-26

Drop support for Python 2.6 and 3.2

9 years agoRemove the u() function and a few uses the script missed. 1477/head
Ben Darnell [Sun, 25 Oct 2015 15:44:06 +0000 (11:44 -0400)] 
Remove the u() function and a few uses the script missed.

9 years agoConvert all uses of t.util.u() to real unicode literals.
Ben Darnell [Sun, 25 Oct 2015 15:25:38 +0000 (11:25 -0400)] 
Convert all uses of t.util.u() to real unicode literals.

9 years agoInvert fix_unicode_literal to switch back to real literals.
Ben Darnell [Sun, 25 Oct 2015 15:07:27 +0000 (11:07 -0400)] 
Invert fix_unicode_literal to switch back to real literals.

9 years agoDrop support for Python 3.2.
Ben Darnell [Sat, 24 Oct 2015 22:56:07 +0000 (18:56 -0400)] 
Drop support for Python 3.2.

Remove python 3.2 support from all test configurations and docs,
but do not actively remove code that exists for 3.2 compatibility.

9 years agoDrop Python 2.6 support.
Ben Darnell [Mon, 3 Aug 2015 14:06:31 +0000 (10:06 -0400)] 
Drop Python 2.6 support.

Remove python 2.6 support from all test configurations and docs,
but do not actively remove code that exists for 2.6 compatibility.

9 years agoBump master version number to 4.4.dev1
Ben Darnell [Fri, 6 Nov 2015 23:52:44 +0000 (18:52 -0500)] 
Bump master version number to 4.4.dev1

9 years agoSet version number to 4.3 branch4.3 v4.3.0
Ben Darnell [Fri, 6 Nov 2015 20:08:40 +0000 (15:08 -0500)] 
Set version number to 4.3

9 years agoRename next.rst to v4.3.0.rst
Ben Darnell [Fri, 6 Nov 2015 20:08:06 +0000 (15:08 -0500)] 
Rename next.rst to v4.3.0.rst

9 years agoLink to the users' guide from the release notes.
Ben Darnell [Fri, 6 Nov 2015 02:54:38 +0000 (21:54 -0500)] 
Link to the users' guide from the release notes.

9 years agoUse `127.0.0.1` when binding test server socket. 1574/head
Neil Chintomby [Thu, 29 Oct 2015 23:33:30 +0000 (16:33 -0700)] 
Use `127.0.0.1` when binding test server socket.

9 years agoUnset executable bit 1576/head
Eric Wang [Wed, 4 Nov 2015 04:56:39 +0000 (20:56 -0800)] 
Unset executable bit

9 years agoMake __getitem__ and __setitem__ mirror behavior of __getattr__ and __setattr__
Eric Wang [Mon, 2 Nov 2015 22:51:24 +0000 (14:51 -0800)] 
Make __getitem__ and __setitem__ mirror behavior of __getattr__ and __setattr__

9 years agoCast start_line.code to an integer 1568/head
Chris Seto [Mon, 26 Oct 2015 05:23:50 +0000 (01:23 -0400)] 
Cast start_line.code to an integer

Allows use of http.client.HTTPStatus in self.write_status
'%s' % http.client.OK == 'HTTPStatus.OK'
'%d' % http.client.OK == '200'

9 years agoMake "headers too large" test understand 431 response code.
Ben Darnell [Sun, 25 Oct 2015 17:52:25 +0000 (13:52 -0400)] 
Make "headers too large" test understand 431 response code.

9 years agoMark another test as http/1 only
Ben Darnell [Sun, 25 Oct 2015 16:59:00 +0000 (12:59 -0400)] 
Mark another test as http/1 only

9 years agoRe-run our custom fixers to normalize future imports
Ben Darnell [Sun, 25 Oct 2015 15:20:10 +0000 (11:20 -0400)] 
Re-run our custom fixers to normalize future imports

9 years agoFix firewall prompts when running tests.
Ben Darnell [Sun, 25 Oct 2015 01:13:44 +0000 (21:13 -0400)] 
Fix firewall prompts when running tests.

9 years agoRewrite prerequisites section of index.rst.
Ben Darnell [Sat, 24 Oct 2015 23:07:59 +0000 (19:07 -0400)] 
Rewrite prerequisites section of index.rst.

Remove redundant parts of README; link to tornadoweb.org instead.

9 years agoSet version number to 4.3b2 v4.3.0b2
Ben Darnell [Sat, 24 Oct 2015 22:03:48 +0000 (18:03 -0400)] 
Set version number to 4.3b2

9 years agoFind 'httponly' case-insensitively
Ben Darnell [Sat, 24 Oct 2015 17:53:26 +0000 (13:53 -0400)] 
Find 'httponly' case-insensitively

9 years agoUpdate tests and docs for recent changes
Ben Darnell [Sat, 24 Oct 2015 17:18:37 +0000 (13:18 -0400)] 
Update tests and docs for recent changes

9 years agoAdded xsrf_cookie_kwargs to control xsrf cookie settings
fernando [Sat, 17 Oct 2015 14:24:23 +0000 (09:24 -0500)] 
Added xsrf_cookie_kwargs to control xsrf cookie settings

9 years agoMerge pull request #1558 from maartenbreddels/patch-1
Ben Darnell [Sat, 24 Oct 2015 16:00:18 +0000 (12:00 -0400)] 
Merge pull request #1558 from maartenbreddels/patch-1

Return HTTPServer in Application.listen

9 years agoMerge pull request #1563 from szweep/response_hdrs_fix
Ben Darnell [Sat, 24 Oct 2015 14:32:27 +0000 (10:32 -0400)] 
Merge pull request #1563 from szweep/response_hdrs_fix

Check for Content-Length and Transfer-Encoding

9 years agoMerge pull request #1567 from bdarnell/root-static-path-test
Ben Darnell [Sat, 24 Oct 2015 14:22:51 +0000 (10:22 -0400)] 
Merge pull request #1567 from bdarnell/root-static-path-test

Make test_root_static_path more robust.

9 years agoMake test_root_static_path more robust. 1567/head
Ben Darnell [Sat, 24 Oct 2015 13:57:16 +0000 (09:57 -0400)] 
Make test_root_static_path more robust.

Always convert `__file__` to an absolute path (this is already
guaranteed in Python 3.4+, but in older versions it would sometimes be
relative). Encode the path so the test can pass when run from a
directory containing spaces or other special characters.

Fixes #1565

9 years agoRestrict header check to SimpleAsyncHTTPClient 1563/head
szweep [Fri, 23 Oct 2015 16:23:09 +0000 (12:23 -0400)] 
Restrict header check to SimpleAsyncHTTPClient

9 years agoCheck for Content-Length and Transfer-Encoding
szweep [Fri, 23 Oct 2015 14:24:35 +0000 (10:24 -0400)] 
Check for Content-Length and Transfer-Encoding

If an HTTP response contains both Content-Length and
Transfer-Encoding headers, flag this as an error as
per RFC 7230, Section 3.3.3#3. Also added a unit test
to validate the code.

9 years agoMerge pull request #1560 from pathcl/master
Ben Darnell [Tue, 20 Oct 2015 15:58:08 +0000 (11:58 -0400)] 
Merge pull request #1560 from pathcl/master

PEP8 fix docs/conf.py:91:1: E122 continuation line missing indentation

9 years agoPEP8 fix docs/conf.py:91:1: E122 continuation line missing indentation or outdented 1560/head
Luis San Martin [Tue, 20 Oct 2015 15:28:52 +0000 (12:28 -0300)] 
PEP8 fix docs/conf.py:91:1: E122 continuation line missing indentation or outdented

9 years agoReturn HTTPServer in Application.listen 1558/head
Maarten Breddels [Mon, 19 Oct 2015 15:24:55 +0000 (17:24 +0200)] 
Return HTTPServer in Application.listen

For unittesting I start and stop the server in setUp and tearDown. If I use Application.listen I don't have a reference to the HTTPServer and cannot close the socket. Binding it to the same address the next time will result in a address in use error. If the server is returned, calling close on it will allow the address/port to be reused.

9 years agoSet version number to 4.3b1 v4.3.0b1
Ben Darnell [Sun, 18 Oct 2015 22:11:02 +0000 (00:11 +0200)] 
Set version number to 4.3b1

9 years agoUpdate next-release notes
Ben Darnell [Sun, 18 Oct 2015 22:03:33 +0000 (00:03 +0200)] 
Update next-release notes

9 years agoMerge pull request #1557 from bdarnell/backports-abc-singledispatch
Ben Darnell [Sun, 18 Oct 2015 21:50:41 +0000 (23:50 +0200)] 
Merge pull request #1557 from bdarnell/backports-abc-singledispatch

Make singledispatch and backports_abc mandatory dependencies.

9 years agoFix singledispatch for asyncio on py26. 1557/head
Ben Darnell [Sun, 18 Oct 2015 21:08:00 +0000 (23:08 +0200)] 
Fix singledispatch for asyncio on py26.

Disable singledispatch tests for twisted on py26 because it doesn't
work.

9 years agoMake singledispatch and backports_abc mandatory dependencies.
Ben Darnell [Sun, 18 Oct 2015 20:34:47 +0000 (22:34 +0200)] 
Make singledispatch and backports_abc mandatory dependencies.

I anticipate confusion around the differing behavior based on whether or
not these packages are installed, so it's better to just make them
mandatory (except on app engine).

9 years agoSlight update to bit-rotted test.
Ben Darnell [Sun, 18 Oct 2015 19:47:37 +0000 (21:47 +0200)] 
Slight update to bit-rotted test.

Currently failing because tornaduv doesn't support the new 4.2
make_current features.

9 years agoFix tests in the app engine sandbox
Ben Darnell [Sun, 18 Oct 2015 19:39:43 +0000 (21:39 +0200)] 
Fix tests in the app engine sandbox

9 years agoMerge pull request #1553 from xbao/fix-gcc-warning
Ben Darnell [Sun, 18 Oct 2015 13:44:27 +0000 (15:44 +0200)] 
Merge pull request #1553 from xbao/fix-gcc-warning

Add void to empty function parameter

9 years agoAdd void to empty function parameter 1553/head
Xiao Bao Clark [Fri, 16 Oct 2015 11:50:24 +0000 (22:50 +1100)] 
Add void to empty function parameter

This fixes the gcc warning:

tornado/speedups.c:49:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
 initspeedups() {
 ^

9 years agoMerge pull request #1550 from ajdavis/gen_test-native-coroutines
Ben Darnell [Tue, 13 Oct 2015 21:34:58 +0000 (23:34 +0200)] 
Merge pull request #1550 from ajdavis/gen_test-native-coroutines

Update gen_test for native coroutines.

9 years agoUpdate gen_test for native coroutines. 1550/head pr1550/r1
A. Jesse Jiryu Davis [Mon, 12 Oct 2015 17:45:15 +0000 (13:45 -0400)] 
Update gen_test for native coroutines.

9 years agoRemove redundant travis_retry calls.
Ben Darnell [Sun, 4 Oct 2015 04:24:53 +0000 (00:24 -0400)] 
Remove redundant travis_retry calls.

Thanks @ajdavis

9 years agoMerge pull request #1542 from bdarnell/async-await
Ben Darnell [Sun, 4 Oct 2015 03:13:54 +0000 (23:13 -0400)] 
Merge pull request #1542 from bdarnell/async-await

More polish for native coroutines

9 years agoDocument some subtleties of native coroutines 1542/head
Ben Darnell [Sun, 4 Oct 2015 02:45:43 +0000 (22:45 -0400)] 
Document some subtleties of native coroutines

9 years agoSupport other yieldables in to_asyncio_future.
Ben Darnell [Sun, 4 Oct 2015 01:57:33 +0000 (21:57 -0400)] 
Support other yieldables in to_asyncio_future.

9 years agoModernize asyncio "yield from" test.
Ben Darnell [Sun, 4 Oct 2015 01:05:01 +0000 (21:05 -0400)] 
Modernize asyncio "yield from" test.

9 years agoRecognize other yieldables in web.asynchronous.
Ben Darnell [Sun, 4 Oct 2015 00:57:23 +0000 (20:57 -0400)] 
Recognize other yieldables in web.asynchronous.

Disallow non-None results.

9 years agoSupport other yieldables for httpclient body_producer
Ben Darnell [Sun, 4 Oct 2015 00:52:04 +0000 (20:52 -0400)] 
Support other yieldables for httpclient body_producer

9 years agoRecognize other yieldables in IOLoop._run_callback.
Ben Darnell [Sun, 4 Oct 2015 00:42:48 +0000 (20:42 -0400)] 
Recognize other yieldables in IOLoop._run_callback.

9 years agoAdd support for native coroutines in IOLoop.run_sync.
Ben Darnell [Sun, 4 Oct 2015 00:31:20 +0000 (20:31 -0400)] 
Add support for native coroutines in IOLoop.run_sync.

Remove support for synchronous functions with non-None results.

9 years agoAllow mixes of native coroutines and YieldPoints in gen.multi.
Ben Darnell [Sun, 4 Oct 2015 00:19:41 +0000 (20:19 -0400)] 
Allow mixes of native coroutines and YieldPoints in gen.multi.

9 years agoDeprecate gen.maybe_future and remove all internal uses.
Ben Darnell [Sat, 3 Oct 2015 22:44:01 +0000 (18:44 -0400)] 
Deprecate gen.maybe_future and remove all internal uses.

This allows native coroutines in the HTTPMessageDelegate.data_received
methods.

9 years agoTweak a timing-sensitive test.
Ben Darnell [Sat, 3 Oct 2015 18:20:55 +0000 (14:20 -0400)] 
Tweak a timing-sensitive test.

This one seems especially flaky on appveyor.

9 years agoMerge pull request #1541 from bdarnell/test-fixes
Ben Darnell [Sat, 3 Oct 2015 17:59:15 +0000 (13:59 -0400)] 
Merge pull request #1541 from bdarnell/test-fixes

Test fixes

9 years agoFix twistedlayered test. 1541/head
Ben Darnell [Sat, 3 Oct 2015 16:00:59 +0000 (12:00 -0400)] 
Fix twistedlayered test.

Disable a test that fails under the trollius IOLoop.

Disable some additional logging.

9 years agoMerge pull request #1540 from bdarnell/ci-versions
Ben Darnell [Sat, 3 Oct 2015 15:51:42 +0000 (11:51 -0400)] 
Merge pull request #1540 from bdarnell/ci-versions

Update versions in CI/tox configs.

9 years agoForce simple_httpclient in path traversal test.
Ben Darnell [Sat, 3 Oct 2015 15:40:22 +0000 (11:40 -0400)] 
Force simple_httpclient in path traversal test.

This fails with recent versions of libcurl because curl now processes
".." on the client side.

9 years agoUpdate versions in CI/tox configs. 1540/head
Ben Darnell [Sat, 3 Oct 2015 15:22:19 +0000 (11:22 -0400)] 
Update versions in CI/tox configs.

9 years agoSupport PATCH with body in curl_httpclient.
Ben Darnell [Sat, 3 Oct 2015 14:43:22 +0000 (10:43 -0400)] 
Support PATCH with body in curl_httpclient.

This previously required `allow_nonstandard_methods`.

Refine the body sanity checks and tests (followup to #1531).

9 years agoMerge pull request #1531 from stj/master
Ben Darnell [Sat, 3 Oct 2015 13:54:18 +0000 (09:54 -0400)] 
Merge pull request #1531 from stj/master

Perform sanity checks on request.body only if allow_nonstandard_metho…

9 years agoMerge pull request #1538 from awsh/master
Ben Darnell [Thu, 1 Oct 2015 20:53:55 +0000 (16:53 -0400)] 
Merge pull request #1538 from awsh/master

Removed links to facebook.com.

9 years agoRemoved links to facebook.com as Tornado is no longer featured. 1538/head
awsh [Thu, 1 Oct 2015 19:47:00 +0000 (15:47 -0400)] 
Removed links to facebook.com as Tornado is no longer featured.

9 years agoRemoved broken link. 1537/head
awsh [Thu, 1 Oct 2015 18:35:40 +0000 (14:35 -0400)] 
Removed broken link.

9 years agoPerform sanity checks on request.body only if allow_nonstandard_methods is True.... 1531/head
Stefan Tjarks [Mon, 28 Sep 2015 21:58:15 +0000 (14:58 -0700)] 
Perform sanity checks on request.body only if allow_nonstandard_methods is True. This makes CurlAsyncHTTPClient handle allow_nonstandard_methods the same as AsyncHTTPClient.

9 years agoMerge pull request #1536 from sieben/patch-1
Ben Darnell [Thu, 1 Oct 2015 14:22:37 +0000 (10:22 -0400)] 
Merge pull request #1536 from sieben/patch-1

Broken link fix

9 years agoBroken link fix 1536/head
Rémy Léone [Thu, 1 Oct 2015 07:49:12 +0000 (09:49 +0200)] 
Broken link fix

9 years agoSupport patchless use of backports_abc 0.4
Ben Darnell [Wed, 30 Sep 2015 05:05:28 +0000 (01:05 -0400)] 
Support patchless use of backports_abc 0.4

9 years agoRemove stale comment.
Ben Darnell [Wed, 30 Sep 2015 04:03:13 +0000 (00:03 -0400)] 
Remove stale comment.

9 years agoVerify extension build on appveyor
Ben Darnell [Wed, 30 Sep 2015 04:01:08 +0000 (00:01 -0400)] 
Verify extension build on appveyor

9 years agoRemove some unused imports
Ben Darnell [Wed, 30 Sep 2015 03:59:56 +0000 (23:59 -0400)] 
Remove some unused imports

9 years agoRun latest autopep8
Ben Darnell [Wed, 30 Sep 2015 03:57:38 +0000 (23:57 -0400)] 
Run latest autopep8

9 years agoUpdate requirements
Ben Darnell [Wed, 30 Sep 2015 03:51:56 +0000 (23:51 -0400)] 
Update requirements

9 years agoMerge pull request #1533 from bdarnell/facebook-auth
Ben Darnell [Tue, 29 Sep 2015 03:10:49 +0000 (23:10 -0400)] 
Merge pull request #1533 from bdarnell/facebook-auth

Fix a regression in FacebookGraphMixin in the 4.3 dev series.

9 years agoFix a regression in FacebookGraphMixin in the 4.3 dev series. 1533/head
Ben Darnell [Tue, 29 Sep 2015 02:38:16 +0000 (22:38 -0400)] 
Fix a regression in FacebookGraphMixin in the 4.3 dev series.

Return access tokens as strings instead of bytes on python 3,
making the user objects json-encodable.

Add a basic test for FacebookGraphMixin.

Fixes #1532

9 years agoUpdate next-release notes.
Ben Darnell [Mon, 28 Sep 2015 04:29:57 +0000 (00:29 -0400)] 
Update next-release notes.

9 years agoMerge pull request #1497 from codeb2cc/ws-mulit-frames-compression
Ben Darnell [Mon, 28 Sep 2015 04:11:06 +0000 (00:11 -0400)] 
Merge pull request #1497 from codeb2cc/ws-mulit-frames-compression

Fix incorrect inspection of WebSocket RSV1 bit.

9 years agoMerge pull request #1526 from bdarnell/streaming-callback-redirect
Ben Darnell [Mon, 28 Sep 2015 03:39:34 +0000 (23:39 -0400)] 
Merge pull request #1526 from bdarnell/streaming-callback-redirect

simple_httpclient: Don't call streaming_callback for redirects.

9 years agoMerge pull request #1530 from mr-ping/master
Ben Darnell [Mon, 28 Sep 2015 03:21:23 +0000 (23:21 -0400)] 
Merge pull request #1530 from mr-ping/master

Change the implement of remove_fragment method

9 years agoChange the implement of remove_fragment method 1530/head
Ping [Fri, 25 Sep 2015 09:04:55 +0000 (17:04 +0800)] 
Change the implement of remove_fragment method

9 years agoMerge pull request #1528 from bdarnell/misc
Ben Darnell [Mon, 28 Sep 2015 01:35:04 +0000 (21:35 -0400)] 
Merge pull request #1528 from bdarnell/misc

Misc updates

9 years agoReturn a Future from websocket write_message methods. 1528/head
Ben Darnell [Mon, 28 Sep 2015 01:09:09 +0000 (21:09 -0400)] 
Return a Future from websocket write_message methods.

Fixes #1478.

9 years agoAccept arguments in `raise Finish()`.
Ben Darnell [Mon, 28 Sep 2015 01:05:04 +0000 (21:05 -0400)] 
Accept arguments in `raise Finish()`.

Fixes #1474.

9 years agoMake HTTPError (both of them) copyable.
Ben Darnell [Mon, 28 Sep 2015 00:55:09 +0000 (20:55 -0400)] 
Make HTTPError (both of them) copyable.

`Exception.__reduce__` causes copy.copy() to create a new argument
with the arguments from `Exception.__init__`, then overwrite
attributes from the original `__dict__`. This means that copying fails
if there are mandatory arguments that are not passed to `__init__`.

Fixes #1485

9 years agoHandle EINTR in IOStream.
Ben Darnell [Mon, 28 Sep 2015 00:23:56 +0000 (20:23 -0400)] 
Handle EINTR in IOStream.

Fixes #1287

9 years agoMerge pull request #1494 from gwillem/curl_multi_line_header
Ben Darnell [Mon, 28 Sep 2015 00:15:12 +0000 (20:15 -0400)] 
Merge pull request #1494 from gwillem/curl_multi_line_header

Allow multi-line headers in CurlAsyncHTTPClient

9 years agoRemove "IOLoop is closing" error.
Ben Darnell [Mon, 28 Sep 2015 00:10:49 +0000 (20:10 -0400)] 
Remove "IOLoop is closing" error.

Callbacks added while the IOLoop is closing will now simply not be
called (which has always been a possible fate for callbacks added
just *before* the close). This exception has not proved to be very
useful and sometimes has false positives that are tricky to work around,
as seen in the linked issues.

Closes #1491.
Closes #1244.