Skip to content
Snippets Groups Projects
Commit bb798bbe authored by anonymous's avatar anonymous
Browse files

Semi Final Revert

parent 68fc5b6d
No related branches found
No related tags found
No related merge requests found
...@@ -11,8 +11,8 @@ class ODSHICAPRequest(object): ...@@ -11,8 +11,8 @@ class ODSHICAPRequest(object):
def __init__(self, FILENAME, FILEBUFF): def __init__(self, FILENAME, FILEBUFF):
config = [] config = []
self.HOST = config.get("ckanext.odsh.icap.host", "10.61.127.77") #'10.61.127.77' self.HOST = "10.61.127.77" #'10.61.127.77'
self.PORT = config.get("ckanext.odsh.icap.port", 1344) self.PORT = 1344
self.CLIENTIP = '127.0.0.1' self.CLIENTIP = '127.0.0.1'
self.FILENAME = FILENAME self.FILENAME = FILENAME
...@@ -101,6 +101,7 @@ class ODSHICAPRequest(object): ...@@ -101,6 +101,7 @@ class ODSHICAPRequest(object):
l = f.read(PACK_SIZE) l = f.read(PACK_SIZE)
#log.info('Done sending.') #log.info('Done sending.')
def _recvall(self, sock): def _recvall(self, sock):
#log.info('Receiving response from icap server...') #log.info('Receiving response from icap server...')
BUFF_SIZE = 4096 # 4 KiB BUFF_SIZE = 4096 # 4 KiB
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment