[
https://issues.apache.org/jira/browse/THRIFT-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zero updated THRIFT-5259:
-------------------------
Description:
I ran the lua tests as follows and the results all failed:
1. Edit tests.json, add thelua 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 ?
===============================================================================
> 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
>
> I ran the lua tests as follows and the results all failed:
> 1. Edit tests.json, add thelua 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.3.4#803005)