[PATCH] test: fix http_client.test.lua with curl-7.62

Vladimir Davydov vdavydov.dev at gmail.com
Mon Dec 3 11:42:19 MSK 2018


On Sun, Dec 02, 2018 at 06:52:09PM +0300, Alexander Turenko wrote:
> curl-7.61.1
> 
> ```
> tarantool> require('http.client').new():get('http://localhost:0')
> ---
> - status: 595
>   reason: Couldn't connect to server
> ```
> 
> curl-7.62
> 
> ```
> tarantool> require('http.client').new():get('http://localhost:0')
> ---
> - error: 'curl: URL using bad/illegal format or missing URL'
> ...
> ```
> 
> curl-7.62 returns CURLE_URL_MALFORMAT is case of zero port and tarantool
> raises an error in the case. I think this behaviour is valid, so I fixed
> the test.
> ---
> 
> no issue
> https://github.com/tarantool/tarantool/tree/Totktonada/fix-http-client-test
> 
> The branch is based on 2.1. Please, cherry-pick it also to 1.10.

Pushed to 2.1 and 1.10.



More information about the Tarantool-patches mailing list