Skip to content

Commit 99a3342

Browse files
committed
Fix incorrect return from UDP Recv function when socket has been closed
1 parent 4cb43b9 commit 99a3342

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

source/__version.id

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.111
1+
2.6.113

source/rtl/ultibo/core/globalconst.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ interface
5454
{Version constants}
5555
ULTIBO_RELEASE_DATE = '8 October 2025';
5656
ULTIBO_RELEASE_NAME = 'Beetroot';
57-
ULTIBO_RELEASE_VERSION = '2.6.111';
57+
ULTIBO_RELEASE_VERSION = '2.6.113';
5858
ULTIBO_RELEASE_VERSION_MAJOR = 2;
5959
ULTIBO_RELEASE_VERSION_MINOR = 6;
60-
ULTIBO_RELEASE_VERSION_REVISION = 111;
60+
ULTIBO_RELEASE_VERSION_REVISION = 113;
6161

6262
FPC_COMPILER_VERSION = {$I %FPCVERSION%}; {The version of FPC used to compile the RTL}
6363

source/rtl/ultibo/core/udp.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2002,7 +2002,7 @@ function TUDPProtocol.Recv(ASocket:TProtocolSocket;var ABuffer;ALength,AFlags:In
20022002
{Check for Closed}
20032003
if ASocket.SocketState.Closed then
20042004
begin
2005-
NetworkSetLastError(WSAEINTR);
2005+
Result:=0;
20062006
Exit;
20072007
end;
20082008
end;

0 commit comments

Comments
 (0)