bbockelm/xrootd-prefs-plugins — pull request #2 by zhangzhehust (2012-09-09 21:52:44+00:00)
Title: Partial working version updated

Changes:
* Make some private member functions in class PrefMatchTopDomain to be statics.
* Added data member XrdCmsXmiEnv* envinfo in class PrefMatchTopDomain to output logs for debugging purpose. Logs are prefixed with "PrefMatchTopDomain" and stored in cmsd.log
* Minor bugs fixed.
* The program right now can match "localhost" between client and server, thus the file transfer is OK.

Current Issues:
* According to the logs, when using nodes.GetNodeName(), the function can only get one data node ([::127.0.0.1]:1094), however, two ports are used in our test configurtion. The other data node [::127.0.0.1]:1095 is not found according to the logs. The reason for this is not clear yet and needs to be figured out.
* Do not know how to set the hostname of client request to be some customized hostname other than "localhost". Thus, the program is not fully tested.