Questions tagged [indy]

Questions related to the Indy (Internet Direct) open source networking library for Delphi, C++Builder, and FreePascal development environments. Not to be confused with the HyperLedger Indy distributed ledger/utility library.

Indy (Internet Direct) is an open source networking library for Delphi, C++Builder, and FreePascal development environments. It supports client and server implementations of TCP, UDP and RAW sockets, as well as over 100 higher level protocols. Some of the popular supported protocols include: SMTP, POP3, IMAP, NNTP, HTTP.

Indy's home page: http://www.indyproject.org


Do not confuse Indy (Internet Direct) with the HyperLedger Indy distributed ledger/utility library for HyperLedger. Please do not use the tag for topics related to HyperLedger Indy, use the tag instead.

2074 questions
0
votes
2 answers

What could be causing IdTCPServer to fail before reading all the data OnExecute event?

This code work's fine when I send data across the LAN with an Indy client component, but when I receive data from an external application from the web, it's causing it to fail. Could there be something on the client-side that is causing IdTCPServer…
user734781
  • 273
  • 1
  • 9
  • 19
0
votes
0 answers

Delphi and Indy compatibility

Delphi with SSL is failing with the error "Could not load SSL library" I am supporting a legacy Delphi 5 application that uses the Indy library (currently v10). to make HTTP calls to our web server. It was working fine until we switch our webserver…
0
votes
0 answers

Indy TCP SSL Multithread

I am developing application that use IdTCPClient for exchanging binary data. I create thread for reading data socket but for sending data using Main Thread. It works fine. But when I use SSL sometimes it works, but sometimes (very often) error…
0
votes
0 answers

Receives request return JSON only when status is 200

I am sending a bank statement (JSON) file to an API. The problem is, I can only get the response JSON when my request status is 200. When not, an exception is thrown but the API response JSON is not enough. To know what is wrong I created the same…
Manzini
  • 1,671
  • 2
  • 9
  • 15
0
votes
0 answers

Delphi SSL MITM Proxy based on INDY - problem with content loading

I'm writing MITM ssl proxy using indy. i use IdHTTPserver component with self signed certificate for proxy server, and on event of CommandOther i do TcpCleint request to site and return data in HTTPServer. But problem is, some scripts, especially JS…
JoshSterling
  • 29
  • 1
  • 3
0
votes
0 answers

Problem with Indy IMAP and Outlook365 when saving to drafts folder with attachments

I'm trying to create an email in the drafts folder on Outlook/Office 365. The problem is that the server keeps resetting the connection. Sometimes the code works, other times it causes an exception with either the message "10054:Connection reset by…
Des10101
  • 1
  • 1
0
votes
1 answer

Loop property of TidThreadComponent

I have a (hopefully) simple question: What is the meaning of Loop property of TidThreadComponent? My program with threads works well when compiled in Delphi 7, but threads works unpredictable when compiled under Delphi Embarcadero. I suspect Loop…
Spectorsky
  • 608
  • 4
  • 23
0
votes
1 answer

How to copy cookies in Indy 10

I'm using Indy 10 in Delphi 7. I have a TidCookieManager in a main form and I wish to copy its cookies over to another cookie manager in a separate thread, this thread obviously has access to the main form. How do I copy those…
rave154
  • 11
  • 1
0
votes
1 answer

Delphi TIdTcpServer get POST parameters sent by browser

I am developing a simple Web Server to communicate with my Web App which runs in a browser. I managed to create a IdTcpServer and get the RequestHeaders submitted by the browser. I don't know how it's possible to get POST parameters of the…
Agha
  • 3
  • 1
  • 1
0
votes
1 answer

Is Indy's TIdSysLogServer a good choice for logging in a webstore?

I would like to create a logging server/service that stays resident and gets called by a webstore to handle different levels of log messages. There can be many copies of the store running at the same time, so the server will need to handle many…
richSPI
  • 1
  • 1
0
votes
0 answers

issue with delphi URL access using indy ssl

using delphi rad 10.3.2 ... cannot establish correct setting for sslsocket In code provided, I have tried assigning "IdSSL" many ways. not have worked. Can anyone help? Thank you. procedure TForm1.Button4Click(Sender: TObject); var crlf,json:…
kualoa
  • 17
  • 1
  • 4
0
votes
0 answers

TIdHTTP.Get() equivalent for HTTPS without requiring we supply SSL libraries?

Does Indy have an equivalent of TIdHTTP.Get() for use on https:// URLs that doesn't require us to ship SSL libraries? Or, must we use something like System.Net.HttpClient as shown in this…
RobertFrank
  • 7,332
  • 11
  • 53
  • 99
0
votes
1 answer

Can I use Exit in TIdTCPServer.OnExecute event

Can I use Exit after adding a Queue command in the TIdTCPServer.OnExecute event? if condition then begin MyNotify := TMyNotify.Create; MyNotify.FMyData := Format('%s > %d > %s, [TimeToStr(Now),…
PSDEVS
  • 57
  • 4
0
votes
0 answers

How prevent flooding at TIdTcpServer and stuck connections

i'm having some problems with flood on my TIdTcpServer and that are blocking the customers to connect at TIdTcpServer, Other problem is stuck connections at TIdTcpServer so we need restart the server application after some hours to back work, if not…
PSDEVS
  • 57
  • 4
0
votes
1 answer

Encoding utf-8 with TIdHTTP->Put()

I want to PUT json data to a REST service with TIdHTTP. It works, as long as I don't have scandinavian letter in the json-data (ÅÄÖ). Then the server rejects the message. I can send the same data OK with Postman, so it is not a server issue. My…
Tomas
  • 25
  • 6