GVKun编程网logo

百度Spider工程师给HTTPS站点的技术建议(百度的工程师叫什么名字呀)

15

对于百度Spider工程师给HTTPS站点的技术建议感兴趣的读者,本文将会是一篇不错的选择,我们将详细介绍百度的工程师叫什么名字呀,并为您提供关于Apache配置多个HTTPS站点、asp.net-m

对于百度Spider工程师给HTTPS站点的技术建议感兴趣的读者,本文将会是一篇不错的选择,我们将详细介绍百度的工程师叫什么名字呀,并为您提供关于Apache 配置多个HTTPS站点、asp.net-mvc-3 – 在仅HTTPS站点上对HTTP HEAD请求的正确响应、C#检测并安装https站点的数字证书,CefSharp和HttpWebRequest通过会话Cookie实现自动登录访问https站点、com.sun.net.httpserver.spi.HttpServerProvider的实例源码的有用信息。

本文目录一览:

百度Spider工程师给HTTPS站点的技术建议(百度的工程师叫什么名字呀)

百度Spider工程师给HTTPS站点的技术建议(百度的工程师叫什么名字呀)

5月25日,百度站长平台发出《百度开放收录HTTPS站点公告》,表示“全面支持HTTPS页面直接收录;另外从相关性的角度,百度搜索引擎认为权值相同的站点,采用HTTPS协议的页面更加安全,排名上会优先对待。”包括今天在与工程师的沟通会上,我们得知链接提交工具的Sitemap工具已也支持站长提交HTTPS数据。那么针对HTTPS,大家肯定还有一些疑问,于是我们专门请教了处理HTTPS数据的工程师:

1、HTTP站点转为HTTPS后,对站点原本的评价权重得分是否有影响?

答:无影响,后续会有正向收益,认为HTTPS更安全,在排序上会有倾斜。

2、转HTTPS后,需要做301跳转,在这个过程中,HTTP已有的排名是否会有变动?快照是否有变动?301需要永久存在吗?

答:快照和排名不会有变化,建议301永久存在,不管是对搜索引挚还是对用户来说都更好一些。

3、传闻说百度不会主动抓取HTTPS的站点?目前情况是什么样的?是否需要站点主动提交?

答:百度现在已经支持HTTPS的收录,特别是会从HTTP跳转到HTTPS上的。纯HTTPS的收录(指的是之前没有HTTP站),依赖于外链形式以及已收录网页的更新抓取,会有一些更新不及时或收录慢的情况,可以使用百度站长平台的链接提交工具进行提交。

4、针对HTTPS的站点,百度在抓取技术层面上有哪些建议?

答:如果以前有HTTP站点,建议永久保留跳转行为。之后注意通过百度站长平台的抓取诊断工具和抓取异常工具关注抓取结果。

Apache 配置多个HTTPS站点

Apache 配置多个HTTPS站点

作中经常会遇到多个站点实现https访问,并指向同一个网页,本文将详解如何在Centos 环境下配置Apache多站点实现HTTPS访问。

准备工作

OS:CentOS release 6.8 (Final)
Web:Apache

安装Apache

1、安装Apache

[root@node1 ~]# yum install httpd -y

2、启动服务

[root@node1 ~]# service  httpd start
Starting httpd:                                            [  OK  ]
[root@node1 ~]#

3、修改测试页面

[root@node1 ~]# cat /var/www/html/index.html 
<h1>
Apache Test Page~
</h1>

4、测试访问

实现HTTPS访问

1、安装SSL模块

[root@node1 ~]# yum install mod_ssl -y

2、检测

[root@node1 ~]# cd /etc/httpd/modules/
[root@node1 modules]# ll | grep ssl
-rwxr-xr-x 1 root root 181872 Oct 20  2017 mod_ssl.so

3、上传证书文件
这里我们可以到各大厂商去申请免费证书,可满足个人网站的需求,如企业网站,建议购买企业收费证书;

[root@node1 ~]# cd /etc/httpd/
[root@node1 httpd]# mkdir ssl/default
[root@node1 httpd]# cd ssl/default
[root@node1 default]# rz
[root@node1 default]# ll
total 12
-rw-r--r-- 1 root root 1683 Apr 13 22:26 1_root_bundle.crt
-rw-r--r-- 1 root root 2008 Apr 13 22:26 2_domaintest.cn.crt
-rw-r--r-- 1 root root 1678 Apr 13 22:26 3_domaintest.cn.key
[root@node1 default]#

4、修改配置

[root@node1 ~]# cd /etc/httpd/conf.d/
[root@node1 conf.d]# ls
README  ssl.conf  welcome.conf
[root@node1 conf.d]# vim ssl.conf

  

LoadModule ssl_module modules/mod_ssl.so
Listen 443
<VirtualHost *:443>
    DocumentRoot "/var/www/html"
    ServerName domaintest.cn
    SSLEngine on
    SSLCertificateFile /etc/httpd/ssl/default/2_domaintest.cn.crt
    SSLCertificateKeyFile /etc/httpd/ssl/default/3_domaintest.cn.key
    SSLCertificateChainFile /etc/httpd/ssl/default/1_root_bundle.crt
</VirtualHost>
配置文件参数 说明
LoadModule 加载SSL模块
Listen 监听443端口
DocumentRoot 网页目录
ServerName 站点域名
SSLEngine on 启用SSL功能
SSLCertificateFile 证书文件
SSLCertificateKeyFile 私钥文件
SSLCertificateChainFile 证书链文件

 

 

 

 

 

 

 

5、重启服务

[root@node1 ~]# httpd -t
Syntax OK

可以先试用httpd -t 检测一下配置文件是否正确,然后再重启服务;

[root@node1 ~]# service  httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

6、检测端口是否监听

[root@node1 conf.d]# ss -ntl
State      Recv-Q Send-Q       Local Address:Port         Peer Address:Port 
LISTEN     0      128                      *:80                      *:*     
LISTEN     0      128                      *:22                      *:*     
LISTEN     0      100              127.0.0.1:25                      *:*     
LISTEN     0      128                      *:443                     *:*     
[root@node1 conf.d]#

配置多个HTTPS站点

1、上传证书文件

[root@node1 ~]# cd /etc/httpd/ssl/
[root@node1 ssl]# mkdir web
[root@node1 ssl]# cd web/
[root@node1 web]# rz

2、修改配置文件

LoadModule ssl_module modules/mod_ssl.so
Listen 443
NameVirtualHost *:443
# 第一个虚拟主机
<VirtualHost *:443>
DocumentRoot "/var/www/html"
ServerName domaintest.cn
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/default/2_domaintest.cn.crt
SSLCertificateKeyFile /etc/httpd/ssl/default/3_domaintest.cn.key
SSLCertificateChainFile /etc/httpd/ssl/default/1_root_bundle.crt
</VirtualHost>
#第二个虚拟主机
<VirtualHost *:443>
DocumentRoot "/var/www/html"
ServerName web.domaintest.cn
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/web/2_web.domaintest.cn.crt
SSLCertificateKeyFile /etc/httpd/ssl/web/3_web.domaintest.cn.key
SSLCertificateChainFile /etc/httpd/ssl/web/1_root_bundle.crt
</VirtualHost>

3、重启服务

[root@node1 conf.d]# service  httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
[root@node1 conf.d]#

4、测试

asp.net-mvc-3 – 在仅HTTPS站点上对HTTP HEAD请求的正确响应

asp.net-mvc-3 – 在仅HTTPS站点上对HTTP HEAD请求的正确响应

我们只能通过HTTPS访问ASP.Net MVC3站点,方法是使用控制器上的RequireHTTPS属性.

我们收到了许多HTTP HEAD方法请求,主要来自看似Twitter的机器人.默认的ASP.Net/MVC3响应是’500内部服务器错误’,正在被elmah和log4net捕获/记录(现已过滤掉!).

我可以根据这个问题编写一个特定的控制器和路由来处理这些非HTTPS请求 – Responding to HEAD Request in asp.NET MVC 3.

但是,从机器人的角度来看,最好的反应是什么呢? 200显示服务器是活动的,302重定向到HTTPS网址,还是坚持500,因为网站无法通过HTTP访问?

解决方法

你可以回复
405 Method Not Allowed

意思是

The method specified in the Request-Line is not allowed for the resource identified by the Request-URI. The response MUST include an Allow header containing a list of valid methods for the requested resource.

或者

501 Not Implemented

意思是

The server does not support the functionality required to fulfill the request. This is the appropriate response when the server does not recognize the request method and is not capable of supporting it for any resource.

就个人而言,我会选择405,因为它在客户端是一个错误,“嘿,我们不会在这里提供这些东西.”对我来说似乎比“你到底在说什么?我不理解它”.一,后者是由服务器建议不识别501描述的请求方法位.

所有HTTP状态代码:http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

C#检测并安装https站点的数字证书,CefSharp和HttpWebRequest通过会话Cookie实现自动登录访问https站点

C#检测并安装https站点的数字证书,CefSharp和HttpWebRequest通过会话Cookie实现自动登录访问https站点

HttpUtil工具类:

using System;
 System.Collections.Generic;
 System.IO;
 System.Linq;
 System.Net;
 System.Text;

namespace Mybrowser
{
    /// <summary>
    /// Http上传下载文件
    </summary>
    public class HttpUtil
    {
        #region cookie设置
        private static CookieContainer m_Cookie = new CookieContainer();

        static void SetHttpCookie(CookieContainer cookie)
        {
            m_Cookie = cookie;
        }
        #endregion

        #region HttpDownloadFile 下载文件
        static MemoryStream HttpDownloadFile(string url)
        {
            // 设置参数
            HttpWebRequest request = WebRequest.Create(url) as HttpWebRequest;
            request.Method = "GET";
            request.CookieContainer = m_Cookie;

            发送请求并获取相应回应数据
            HttpWebResponse response = request.GetResponse()  HttpWebResponse;
            直到request.GetResponse()程序才开始向目标网页发送Post请求
            Stream responseStream = response.GetResponseStream();

            创建写入流
            MemoryStream stream =  MemoryStream();

            byte[] bArr = new byte[1024];
            int size = responseStream.Read(bArr,0,(int)bArr.Length);
            while (size > 0)
            {
                stream.Write(bArr,,size);
                size = responseStream.Read(bArr,1)">)bArr.Length);
            }
            stream.Seek(return stream;
        }
        #region HttpUploadFile 上传文件
        <summary>
         Http上传文件
        </summary>
        string HttpUploadFile(string url,byte[] bArr,1)"> fileName)
        {
             HttpWebRequest;
            CookieContainer cookieContainer =  CookieContainer();
            request.CookieContainer = cookieContainer;
            request.AllowAutoRedirect = true;
            request.Method = POST;
            string boundary = DateTime.Now.Ticks.ToString(X");  随机分隔线
            request.ContentType = text/plain;charset=utf-8 m_Cookie;

            Stream postStream = request.GetRequestStream();
            postStream.Write(bArr,bArr.Length);
            postStream.Close();

            直到request.GetResponse()程序才开始向目标网页发送Post请求
            Stream instream = response.GetResponseStream();
            StreamReader sr =  StreamReader(instream,Encoding.UTF8);
            返回结果网页(html)代码
            string content = sr.ReadToEnd();
             content;
        }
        #region HttpPost
         HttpPost
        string HttpPost( data)
        {
            byte[] bArr = ASCIIEncoding.UTF8.GetBytes(data);

             HttpWebRequest;
            request.CookieContainer = m_Cookie;
            request.Method = ;
            request.ContentType = ;
            request.ContentLength = bArr.Length;

            Stream postStream =;

            #region HttpGet
         HttpGet
        string HttpGet(out Cookie cookie)
        {
             sr.ReadToEnd();

            获取Cookie
            CookieCollection cc = request.CookieContainer.GetCookies(request.RequestUri);
            if (cc != null && cc.Count > )
            {
                cookie = cc[];
            }
            else
            {
                cookie = null;
            }

            #endregion

    }
}
View Code

 C#检测并安装https站点的数字证书:

bool isCertStored = ;
X509Store store =  X509Store(StoreName.Root,StoreLocation.LocalMachine);
store.Open(OpenFlags.MaxAllowed);
X509Certificate2Collection certs = store.Certificates.Find(X509FindType.FindBySubjectName,1)">HIKVISION-GA-ROOT-V1",1)">false);
if (certs.Count == 0 || certs[0].NotAfter < DateTime.Now)
{
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + HuShaCert.cer))
    {
        X509Certificate2 certificate = new X509Certificate2(AppDomain.CurrentDomain.BaseDirectory + );
        store.Add(certificate); 安装证书
    }
    
    {
        isCertStored = ;
    }
}
store.Close();
if (!isCertStored)
{
    System.Windows.MessageBox.Show(证书没有安装成功,无法访问系统,请联系管理员);
    ;
}
View Code

 CefSharp和HttpWebRequest通过会话Cookie实现自动登录:

void Window_Loaded(object sender,RoutedEventArgs e)
{
    Task.Factory.StartNew(() =>
    {
        try
        {
            获取token
            string tokenUrl = tokenUrl = _baseUrl + /nopasswordLogin_A10AD3FA1EC4fdbAA9B7007BBF3FCD89/?ACTION=getTokenstring token = HttpUtil.HttpGet(tokenUrl);
            if (token != null) token = token.Trim();

            登录,并取得Cookie
            string loginUrl = _baseUrl + string.Format(/nopasswordLogin_A10AD3FA1EC4fdbAA9B7007BBF3FCD89/?ACTION=verify&VERIFY_TOKEN={0}&YISA_API_NAME=yisa_api1stem.Net.Cookie cookie = ;
            HttpUtil.HttpGet(loginUrl, cookie);

            if (cookie != )
            {
                CefSharp.Cookie cefsharpCookie =  CefSharp.Cookie();
                cefsharpCookie.Domain = cookie.Domain;
                cefsharpCookie.Name = cookie.Name;
                cefsharpCookie.Value = cookie.Value;

                this.dispatcher.BeginInvoke(new Action(() =>
                {
                    
                    {
                        _browser = new ExtChromiumbrowser() { Dock = DockStyle.Fill };
                        Bindbrowser(_browser);

                        设置Cookie
                        var cookieManager = CefSharp.Cef.GetGlobalCookieManager();
                        cookieManager.SetCookieAsync(_baseUrl,cefsharpCookie);

                        _browser.Load(_baseUrl + /?c=inquiry_model);
                        host.Child = _browser;
                    }
                    catch
                    {
                        System.Windows.MessageBox.Show(无法访问,请联系管理员);
                        this.Close();
                    }
                }));
            }
            
            {
                System.Windows.MessageBox.Show(登录失败,请联系管理员);
                .Close();
            }
        }
        
        {
            System.Windows.MessageBox.Show();
            .Close();
        }
    });
}
View Code

 

com.sun.net.httpserver.spi.HttpServerProvider的实例源码

com.sun.net.httpserver.spi.HttpServerProvider的实例源码

项目:Equella    文件:Main.java   
public void startServer() throws Exception
{
    executeUpgrader();

    Authenticator auth = new MyAuthenticator(config);
    server = HttpServerProvider.provider().createHttpServer(
        new InetSocketAddress(config.getManagerDetails().getManagerPort()),50);

    AjaxState ajaxState = new AjaxStateImpl();

    createContext(server,"/",new WebrootHandler()); //$NON-NLS-1$
    createContext(server,"/pages/",new PagesHandler(config),auth); //$NON-NLS-1$
    createContext(server,"/server/",new ServerHandler(config),"/deploy/",new DeployHandler(config,ajaxState),"/ajax/",new AjaxProgressHandler(ajaxState)); //$NON-NLS-1$
    createContext(server,"/upload/",new UploadHandler(config)); //$NON-NLS-1$

    server.start();
}
项目:arquillian-algeron    文件:PactConsumerArchiveAppender.java   
@Override
public Archive<?> createAuxiliaryArchive() {
    JavaArchive arquillianPactConsumer = null;
    arquillianPactConsumer = ShrinkWrap.create(JavaArchive.class,"arquillian-pact-consumer.jar")
        // Add Core classes required in container part
        .addClasses(AbstractConsumerPactTest.class,RemoteConsumerPactTest.class,PactConsumerConfiguration.class,MockProviderConfigCreator.class,PactConsumerConfigurator.class,PactConsumerRemoteExtension.class,PactFilesCommand.class,ConsumerProviderPair.class,PactMismatchesException.class,ConsumerPactRunnerKt.class,HttpHandler.class,HttpServer.class,HttpServerProvider.class,ResolveClassAnnotation.class,StubServer.class,StubServerEnricher.class,HttpsServer.class,HttpContext.class)
        .addPackages(true,Pact.class.getPackage())
        .addAsServiceProvider(RemoteLoadableExtension.class,PactConsumerRemoteExtension.class);

    arquillianPactConsumer = addSunHttpServer(arquillianPactConsumer);

    final Properties properties = pactConsumerConfigurationInstance.get().asProperties();
    String configuration = toString(properties);

    arquillianPactConsumer.add(new StringAsset(configuration),"/pact-consumer-configuration.properties");

    final JavaArchive[] pactConsumerDeps = Maven.resolver()
        .resolve("au.com.dius:pact-jvm-consumer_2.11:" + getVersion())
        .withtransitivity().as(JavaArchive.class);

    final JavaArchive merge = merge(arquillianPactConsumer,pactConsumerDeps);
    return merge;
}
项目:easyStor    文件:YNSHttpServer.java   
public static void httpserverService() throws IOException {
    HttpServerProvider provider = HttpServerProvider.provider();
    HttpServer httpserver =provider.createHttpServer(new InetSocketAddress(6666),100);//�����˿�6666,��ͬʱ�� ��100������
    httpserver.createContext("/yns3_hdfs",new MyHttpHandler()); 
    httpserver.setExecutor(null);
    httpserver.start();
    System.out.println("server started");
}
项目:Openjsharp    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,if <code>null</code> then bind() must be called
 *  to set the address
 * @param backlog the socket backlog. If this value is less than or equal to zero,*          then a system default value is used.
 * @throws BindException if the server cannot bind to the requested address,*          or if the server is already bound.
 * @throws IOException
 */

public static HttpServer create (
    InetSocketAddress addr,int backlog
) throws IOException {
    HttpServerProvider provider = HttpServerProvider.provider();
    return provider.createHttpServer (addr,backlog);
}
项目:jdk8u-jdk    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:openjdk-jdk10    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:openjdk9    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:jdk8u_jdk    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:lookaside_java-1.8.0-openjdk    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:infobip-open-jdk-8    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:jdk8u-dev-jdk    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:jdk7-jdk    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:openjdk-source-code-learn    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:OLD-OpenJDK8    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:openjdk-jdk7u-jdk    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}
项目:openjdk-icedtea7    文件:HttpServer.java   
/**
 * Create a <code>HttpServer</code> instance which will bind to the
 * specified {@link java.net.InetSocketAddress} (IP address and port number)
 *
 * A maximum backlog can also be specified. This is the maximum number of
 * queued incoming connections to allow on the listening socket.
 * Queued TCP connections exceeding this limit may be rejected by the TCP implementation.
 * The HttpServer is acquired from the currently installed {@link HttpServerProvider}
 *
 * @param addr the address to listen on,backlog);
}

关于百度Spider工程师给HTTPS站点的技术建议百度的工程师叫什么名字呀的介绍现已完结,谢谢您的耐心阅读,如果想了解更多关于Apache 配置多个HTTPS站点、asp.net-mvc-3 – 在仅HTTPS站点上对HTTP HEAD请求的正确响应、C#检测并安装https站点的数字证书,CefSharp和HttpWebRequest通过会话Cookie实现自动登录访问https站点、com.sun.net.httpserver.spi.HttpServerProvider的实例源码的相关知识,请在本站寻找。

本文标签: