Recent

Author Topic: [SOLVED] SIGPIPE if fpHTTPClient.Free on ResponseStatusCode 0, only in Lazarus  (Read 2572 times)

TCH

  • Sr. Member
  • ****
  • Posts: 275
    • Oldschool computer
If i try to GET something and the result is
Code: [Select]
StatusCode: 0, EHTTPClient: Error reading data from socketthen when i call .Free on fpHTTPClient, i get a SIGPIPE, but only in Lazarus. If i run the program outside of Lazarus, then i get the error message as intended. Is this some kind of GDB bug, or a setting?
« Last Edit: March 21, 2022, 10:00:01 pm by TCH »

TCH

  • Sr. Member
  • ****
  • Posts: 275
    • Oldschool computer
Re: SIGPIPE if fpHTTPClient.Free on ResponseStatusCode 0, but only in Lazarus
« Reply #1 on: December 15, 2021, 02:24:08 pm »
It turned out, that it only happens if i set KeepConnection to true.

 

TinyPortal © 2005-2018