- (void)socket:(GCDAsyncSocket *)sock didReadData没有被调用?

时间:2016-10-03 10:20:36

标签: ios objective-c xmpp

- (void)socket:(GCDAsyncSocket *)sock didReadData:(NSData *)data withTag:(long)tag

连接到主机后,此代理方法未被调用:

<VirtualHost *:80>
  ServerAdmin admin@myserver.com
  ServerName demo.myserver.com

  ProxyRequests Off
  <Proxy *>
    Order deny,allow
    Allow from all
  </Proxy>    
  ProxyPreserveHost On
  <Location />
    ProxyPass ajp://localhost:8009/demo/
    ProxyPassReverse ajp://localhost:8009/demo/
    SetOutputFilter INFLATE;proxy-html;DEFLATE
    ProxyHTMLURLMap /demo/ /
    ProxyPassReverseCookiePath /demo/ /
  </Location>
</VirtualHost>

0 个答案:

没有答案