Merge branch 'jocelyn'
This commit is contained in:
@@ -47,7 +47,7 @@ feature -- Execution
|
|||||||
|
|
||||||
|
|
||||||
create l_remote_info
|
create l_remote_info
|
||||||
if attached client_socket.address as l_addr then
|
if attached client_socket.peer_address as l_addr then
|
||||||
l_remote_info.addr := l_addr.host_address.host_address
|
l_remote_info.addr := l_addr.host_address.host_address
|
||||||
l_remote_info.hostname := l_addr.host_address.host_name
|
l_remote_info.hostname := l_addr.host_address.host_name
|
||||||
l_remote_info.port := l_addr.port
|
l_remote_info.port := l_addr.port
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ feature -- Inherited Features
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
is_stop_requested := main_server.stop_requested
|
||||||
end
|
end
|
||||||
l_http_socket.cleanup
|
l_http_socket.cleanup
|
||||||
check
|
check
|
||||||
|
|||||||
@@ -49,17 +49,4 @@ feature -- Access
|
|||||||
stop_requested: BOOLEAN
|
stop_requested: BOOLEAN
|
||||||
-- Stops the server
|
-- Stops the server
|
||||||
|
|
||||||
feature {NONE} -- implementation
|
|
||||||
|
|
||||||
run
|
|
||||||
-- Start the server
|
|
||||||
local
|
|
||||||
e: EXECUTION_ENVIRONMENT
|
|
||||||
do
|
|
||||||
create e
|
|
||||||
from until stop_requested loop
|
|
||||||
e.sleep (1_000_000)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user