What’s going on?
We’ve been holding on netcurl 6.1.5 for a while now, since the package has been a bit too small to be considered release worthy. However, the last days changed this and two bigger features has now been fixed: SoapClient timeouts and the ability to disable SSL certificate verification (which has been planned for long now).
SSL Verification becomes configurable
The verification issues is added as part to the fact that requests to self signed sites sometimes is necessary and normally netcurl security is set to never allow self signed or invalid SSL certificates. This release also contains a fix that makes the streamwrapper handle errors better, since we need to be able to catch SSL request exceptions.
The SoapClient timeout handler has just recently become a problem. When a site is timing out during connection or the response, the SoapWrapper (and actuallty SoapClient itself) have never been able to figure out if exceptions thrown are thrown because of site errors or timeouts – except for through the error message.
With the new fix, a different exception will be produced under very specific circumstances: If the SoapClient throws an exception, based on error code 2 (E_WARNING), and the initial request time has exceeded the timeout configuration (from WrapperConfig) the exception is considered timeout instead of code 2. In such cases, the exception will be rethrown with code 1015 instead – but keep the error message produced by during the soap request.
const LIB_NETCURL_SOAP_TIMEOUT = 1015;
A major update for DOM Documents
DOMDocuments has always been of interest for netcurl, especially since we use those features to fetch data for RSS feeds. The most recent fixes to handle DOM data with netcurl will now become available. However, there may be a continued integration with Laminas here to furthermore make requests more stable.
Below, you can see what’s been updated.
Release Notes - PHP_NETCURL - Version 6.1.5
- [NETCURL-338] – Docblock classes are not properly defined
- [NETCURL-330] – Allow manipulation of SSL Verification settings
- [NETCURL-335] – PHP 8.1 Tests
- [NETCURL-339] – Use xpath to fetch rendered elements
- [NETCURL-340] – xpath automation of the otherwise manual handling
- [NETCURL-341] – Separate DOMHandler from GenericParser
- [NETCURL-343] – Try to verify soap timeouts.
- [NETCURL-345] – Remove SSL verification configuration for older PHP
Documentation about the /rss resource can now be found here!
Tornevall Networks has, for a while now, been running a RSS feed agent in a kind of beta mode. This period has been used to safely make sure that the services are really properly running, fetching data and provides the data correct in the feed. So far, the flaws has been very few so it is considered no longer a beta testing.
We are also monitoring RSS-feeds, which may seem a bit contra productive. However, there are purposes for this too. Amongst a few, this makes it possible for us to get a compiled view of multiple sites that handles the same kind of categories. For example, if you have several RSS-feeds for Marvel content, this makes it also possible to merge those feeds into one.
Furthermore, we are also monitoring sites where there are no RSS-feeds available. You can read about the feeder above, at the first link. We also keep track of the total feed agents helping collecting data and the status at https://auth.tornevall.net/portal/.
To get a full list of RSS feeds currently available, you can read it in json, instantly from the url below. If you want to add a new feed to this monitor feel free to contact us via the page Contact.
NetCurl 6.1 should be ready for PHP 8.1
All secondary DNS servers for tornevall.org is currently being updated. Secondary services will from now on be hosted via Linode. As we are dismounting some internal DNS servers, this is one step in that progress. A second purpose of this change is also to make resolving faster worldwide.
The primary DNS, which is also currently the one that handles listings/delistings will be moved into a multi-address server, which means there are at least three entry points to it.
- December 2021
- November 2021
- July 2021
- June 2021
- May 2021
- March 2021
- January 2021
- October 2020
- August 2020
- February 2020
- August 2019
- July 2019
- May 2019
- March 2019
- December 2018
- August 2018
- July 2018
- July 2017
- April 2017
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- February 2016
- December 2015
- September 2015
- June 2010
- April 2010
- March 2010
- March 2009