Jump to content

omnibrain

Members
  • Content Count

    107
  • Joined

  • Last visited

Everything posted by omnibrain

  1. Hm, thanks for the answer, but it get's stranger. I don't have any of the "On*Document" events implemented at all, because all processing happens in my "TLISAAPIRADA.Execute" procedure. I don't serve documents or anything. (I've specified a HttpAppSrv1.DocDir, but that's empty at the moment) The hg401-handling in the examples happens all in the "On*Document" handlers. Now the funny part is: The first unauthenticated "get" gets a 401 response with <HTML> <HEAD> <TITLE>401 Access Denied</TITLE> </HEAD> <BODY> <H1>401 Access Denied</H1>The requested URL /protocol/6192458077624899 requires authorization.<P> </BODY> </HTML> as a body. (other endpoint, same .Execute - refactoring is pending when Auth works...) The next "get" gets a "501 Unimplemented". Then the next the 401 again and then the next the 501. And so fort... Where should I put a check if the client Flags are hg401, I I only use my own TUrlHandler class via "Add*Handler"? I tried adding if Flags=hg410 then exit; to the top of my ".Execute", but the compiler complains that hg401 is undeclared (E2003), despite "OverbyteIcsHttpSrv" being in my uses clause. EDIT: My eyes are getting tired, "hg401" is the correct one. I will try it and get back... EDIT 2: It looks like "flags" is the one belonging to the URL-Handler and not the one for the client. I can't find how to access the client flags. "client.flags" does not work.
  2. omnibrain

    rabbitmq-delphi release

    Yes, but via plugin. Default seems to be 0.9.1. And I'm not really interested in what RabbitMQ is using, but what this library is using. I'm not familiar with these protocols, but I dug into the code and found the version constants: https://github.com/sonadorje/rabbitmq-delphi/blob/34bcf2e76f04a7be08d701dd82c5d86c0ada0cd7/AMQP.Types.pas#L1046 AMQP_VERSION_STRING = '0.9.1';
  3. omnibrain

    rabbitmq-delphi release

    I asked if the rabbitmq-delphi project support AMQP 1.0. I had another look at RabbitMQ and it looks like it primarily uses AMQP 0-9-1. I primarily use MQTT with "traditional" MQTT-Brokers, but when I compared Message Queue technologies and brokers/IoT Hubs I noticed some (primarily) support AMQP 1.0, so perhaps if this library supported version 1.0 I could use it (or parts of it) to connect to those. But as RabbitMQ primarily uses AMQP 0.9.1 I think this library also uses this version.
  4. omnibrain

    rabbitmq-delphi release

    Does this support AMQP 1.0? There are only few comments and some of them are in chinese(?). Do you plan to add some more comments, describe the tests a bit, or give some more examples?
  5. Thanks a lot. I'm going to take a look at the new example code. The examples are always helpful.
  6. omnibrain

    Ann: NexusDB 4.50.25 update - New Features

    Do you have (at least a one way) replication planned for a future release?
×