Before this commit using Poco::URI class to parse specific URIs that had
percent-encoded fragment identifier resulted in the loss of information
concerning the way the fragment identifier was encoded. There could be the cases
when the result of Poco::URI object serialization to string did not match the
original URI string Poco::URI object was created from.
In this commit we change the internal logic of fragment processing in Poco::URI,
so that the fragment is stored inside the class in raw form (the same way as
query string). The methods getFragment and setFragment work the old way (with
percent-decoded fragment values), new methods getRawFragment and setRawFragment
are added to get access to the original fragment representation.
Add an option to force the use of PollingDirectoryWatcherStrategy
Should work on any platform
(Not Linux only)
See previous PR on this topic :
https://github.com/pocoproject/poco/pull/2881
On Linux, inotfy does not work for network volumes (such as NFS).
See https://stackoverflow.com/questions/4231243/inotify-with-nfs
By adding flag POCO_DW_FORCE_POLLING in Foundation/Config.h,
the use of PollingDirectoryWatcherStrategy is forced.
This is not the same behavior as flag POCO_NO_INOTIFY.
This only disables compilation of DirectoryWatcher.
Add an option to force the use of PollingDirectoryWatcherStrategy
Should work on any platform
(Not Linux only)
See previous PR on this topic :
https://github.com/pocoproject/poco/pull/2881
On Linux, inotfy does not work for network volumes (such as NFS).
See https://stackoverflow.com/questions/4231243/inotify-with-nfs
By adding flag POCO_DW_FORCE_POLLING in Foundation/Config.h,
the use of PollingDirectoryWatcherStrategy is forced.
This is not the same behavior as flag POCO_NO_INOTIFY.
This only disables compilation of DirectoryWatcher.