Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH v2 0/2] take getaddrinfo() errors  into account
@ 2019-06-25 13:38 Roman Khabibov
  2019-06-25 13:38 ` [tarantool-patches] [PATCH v2 2/2] say: " Roman Khabibov
  0 siblings, 1 reply; 19+ messages in thread
From: Roman Khabibov @ 2019-06-25 13:38 UTC (permalink / raw)
  To: tarantool-patches; +Cc: alexander.turenko

Before this patch, branch when getaddrinfo() returns error codes
couldn't be reached on Mac OS, because they are greater than 0 on
Mac OS (checking for errors was rc < 0).

Roman Khabibov (2):
  lua: return getaddrinfo() errors
  say: take getaddrinfo() errors  into account

 src/box/lua/net_box.lua   |  7 +++++--
 src/lib/core/coio_task.c  |  2 +-
 src/lib/core/say.c        |  3 ++-
 src/lua/socket.c          | 17 ++++++++++++++++-
 src/lua/socket.lua        | 37 +++++++++++++++++++++++--------------
 test/app/socket.result    | 21 ++++++++++++++++++++-
 test/app/socket.test.lua  | 10 ++++++++++
 test/box-tap/cfg.test.lua | 19 ++++++++++++++++++-
 test/box/net.box.result   | 11 +++++++++++
 test/box/net.box.test.lua |  8 ++++++++
 test/unit/coio.cc         |  7 ++++++-
 test/unit/coio.result     |  4 +++-
 12 files changed, 123 insertions(+), 23 deletions(-)

-- 
Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/gh-4138-getaddrinfo
Issue: https://github.com/tarantool/tarantool/issues/4138
2.20.1 (Apple Git-117)

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-12-27 13:01 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25 13:38 [tarantool-patches] [PATCH v2 0/2] take getaddrinfo() errors into account Roman Khabibov
2019-06-25 13:38 ` [tarantool-patches] [PATCH v2 2/2] say: " Roman Khabibov
2019-07-23 14:52   ` [tarantool-patches] " Alexander Turenko
2019-08-05 13:32     ` Roman Khabibov
2019-08-28 21:34       ` Alexander Turenko
2019-08-29  0:51         ` Alexander Turenko
     [not found]         ` <8E98F721-601F-436D-8F0A-5E399D8F7CAB@tarantool.org>
2019-09-06 13:44           ` Alexander Turenko
2019-09-10 12:52             ` Roman Khabibov
2019-11-01 15:19               ` [Tarantool-patches] " Alexander Turenko
2019-11-21 17:28                 ` [Tarantool-patches] [tarantool-patches] " Roman Khabibov
2019-12-08 19:48                   ` Alexander Turenko
2019-12-10 16:25                     ` Roman Khabibov
2019-12-18 15:01                       ` Alexander Turenko
2019-12-21 17:50                         ` Roman Khabibov
2019-12-23 12:56                           ` Alexander Turenko
2019-12-23 13:38                             ` Alexander Turenko
2019-12-26 17:29                               ` Roman Khabibov
2019-12-26 21:05                                 ` Alexander Turenko
2019-12-27 13:01                                   ` Roman Khabibov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox