Merge pull request #987 from fcelda/ycmd_ipv4

Use IPv4 to connect to ycmd
This commit is contained in:
Val Markovic 2014-05-22 12:20:48 -07:00
commit b49ceecedb

View File

@ -123,7 +123,7 @@ class YouCompleteMe( object ):
args.append('--keep_logfiles') args.append('--keep_logfiles')
self._server_popen = utils.SafePopen( args, stdout = PIPE, stderr = PIPE) self._server_popen = utils.SafePopen( args, stdout = PIPE, stderr = PIPE)
BaseRequest.server_location = 'http://localhost:' + str( server_port ) BaseRequest.server_location = 'http://127.0.0.1:' + str( server_port )
BaseRequest.hmac_secret = hmac_secret BaseRequest.hmac_secret = hmac_secret
self._NotifyUserIfServerCrashed() self._NotifyUserIfServerCrashed()