[
https://issues.apache.org/jira/browse/THRIFT-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylwester Lachiewicz resolved THRIFT-5259.
------------------------------------------
Fix Version/s: 0.14.0
Resolution: Fixed
Fixed by
[021cb270|https://github.com/apache/thrift/commit/021cb2707086a926ae49dcb9c1b7929472d0daa9]
— patch by Zero (longzhiri), committed by Jens Geyer in August 2020; first
released in 0.14.0. Caveat: Lua has no CI
([THRIFT-6189|https://issues.apache.org/jira/browse/THRIFT-6189]), so the fix
has never been verified by automation. Resolving as Fixed with that caveat.
> Fix "Transport endpoint is not connected " error when running lua test server
> accepts a connection
> ----------------------------------------------------------------------------------------------------
>
> Key: THRIFT-5259
> URL: https://issues.apache.org/jira/browse/THRIFT-5259
> Project: Thrift
> Issue Type: Bug
> Components: Lua - Library
> Affects Versions: 0.13.0
> Reporter: zero
> Priority: Major
> Fix For: 0.14.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> I ran the lua tests as follows and all failed:
> 1. Edit tests.json, add the lua server configuration
> 2. test.py --server lua --client lua
> After checking the log, it was found that the problem occurred when the
> server accepted the connection:
> ===============================================================================
> lua: ../../lib/lua/Thrift.lua:40: Transport endpoint is not connected
> stack traceback:
> [C]: in function 'error'
> ../../lib/lua/Thrift.lua:40: in function 'terror'
> ../../lib/lua/TSocket.lua:129: in method 'accept'
> ../../lib/lua/TServer.lua:132: in method 'serve'
> test_basic_server.lua:141: in function 'testBasicServer'
> test_basic_server.lua:145: in main chunk
> [C]: in ?
> ===============================================================================
--
This message was sent by Atlassian Jira
(v8.20.10#820010)