<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 24/02/2019 15:55, Michael Van
Canneyt via lazarus wrote:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.DEB.2.20.1902241550350.13655@home.telenet.be">
<br>
<br>
On Sun, 24 Feb 2019, Martin Frb via lazarus wrote:
<br>
<br>
<blockquote type="cite">So it hangs in openssl.
<br>
</blockquote>
<br>
I think that is a premature conclusion :)
<br>
</blockquote>
I should have said:<br>
<br>
"In this specific case, it was in openssl"<br>
Which then is an observation.<br>
<br>
But you could, next time, set a breakpoint at the line/address where
it returns to opm (or pascal code).<br>
<br>
#8 0x000000000192033f in RECV (this=0x7fa2f2139280, BUFFER=0,
COUNT=4096) at fcl-net/src/sslsockets.pp:436
<br>
#9 0x00000000019175c4 in READ (this=0x7fa2f214b6e0, BUFFER=0,
COUNT=4096) at fcl-net/src/ssockets.pp:449
<br>
#10 0x000000000199bcdd in FILLBUFFER (parentfp=0x7fa2fc603230) at
fpcmod/opkman_httpclient.pas:708
<br>
#11 0x000000000199ba31 in READSTRING (this=0x7fa3058e08e0, S=0x0) at
fpcmod/opkman_httpclient.pas:730
<br>
#12 0x000000000199c165 in READRESPONSEHEADERS (this=0x7fa3058e08e0)
at fpcmod/opkman_httpclient.pas:835
<br>
<br>
<code>select-frame 10<br>
b +0<br>
<br>
^^^^ select the frame, set a breakpoint<br>
<br>
then <br>
r<br>
^^ run<br>
<br>
That should tell, if the socket call returns. (and then allow to
find where in the pascal code it loops (how many further frames
back will it go?)<br>
<br>
</code>
<blockquote type="cite"
cite="mid:alpine.DEB.2.20.1902241550350.13655@home.telenet.be">
<br>
<blockquote type="cite">Which means the http request can not be
aborted. (gracefully)
<br>
<br>
How up to date is your openssl?
<br>
</blockquote>
<br>
System installed version, so 1.0.x. I recently updated my
packages.
<br>
</blockquote>
From the discussions on the git buck, it appears (I may be wrong)
the issue was fixed about one week back. (and then it depends when
that made it into your distro).<br>
<br>
So if you recently updated, you may have updated to include the
issue (depends on the outcome of the above)<br>
Anyway that is only one possibility.<br>
<br>
Above gdb steps should get as closer to the issue (either if it is
ssl, or where in the pascal code to look for it).<br>
<br>
----<br>
As usual, the issue is that it does not (has not yet) happened to me
(Windows/Fedora 28).<br>
Also I am not the maintainer of httpclient, nor of opm. So I can
only offer limited help. (I did have a look at opm in the past, so
that's why I jumped in)<br>
<br>
<br>
<br>
</body>
</html>