2023-03-25: EMG 7.2.20 is now released.
These are the changes in EMG 7.2.19 as compared to EMG 7.2.18.
- Sometimes you want to find out what the currently loaded configuration looks like, for example when sending an email to our support. As this can come both from the server.cfg file, a host specific server.cfg.$hostid file, the database, and environment variables, this can be complex and error prone. To make this much easier, HTTP connectors now have a new endpoint
/admin/config, which returns the currently loaded configuration. Values loaded from the environment (added in version 7.2.16) are hidden, as that mechanism is often used for passwords and similar sensitive information. The user must have ADMIN rights, and the HTTP connector must have XAUTH set. For convenience, there is also an
/admin/config.jsonendpoint, returning the data as a json object. On the command line you then run a command such as this:
curl --user username:password http://127.0.0.1:9011/admin/config
- When HTTP responses larger than about 1 KB were returned, this memory would leak. This has now been corrected. Normally only a status and a message id are returned, so you would need some special plugins or url handlers to trigger this.
- If, on startup, a connector is found to be invalid, some memory previously leaked. This has now been corrected.
- The emgload tool has a new command parameter –smpptlv. It takes a value, which should be a numeric option key, a colon, and finally a hex encoded string. This is sent as an optional parameter for each message. Typically the key should be within the vendor specific interval, 0x1400 – 0x3FFF. You can add any number of these “–smpptlv key:hexvalue” options.
- The REGEXP_MESSAGE option only worked if the output would become less than 32 bytes. This has now been increased to the minimum of twice the current length and 1024.
- When using MERGE_IN and a before_receive() or route() plugin in perl, the returned delivery report used the wrong message id. This was solved by sending the PART_ID option as an array to the plugin.
- When using MERGE, invalid combinations of part numbers and the number of total parts could cause emgd to crash. This has now been corrected.
- Starting with this version, all errors on an HTTP connector will make EMG close the connection.
The downloads are password-protected. To obtain the username and password required, please use our license request form. If you already have an existing installation, you should download just the new binaries.