Tornado 6.5 DocumentationHTTPServer’s ssl.SSLContext.verify_mode field must be set, e.g.: ssl_ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH) ssl_ctx.load_cert_chain("foo.crt", "foo.key") ssl_ctx.load_verify_locations("cacerts s.pem") ssl_ctx.verify_mode = ssl.CERT_REQUIRED server = HTTPServer(app, ssl_options=ssl_ctx) By default, the return value is a dictionary (or None, if no client certificate is present). If binary_form called before the SSL handshake has completed. Use SSLIOStream.wait_for_handshake if you need to verify the client’s certificate or use NPN/ALPN. Changed in version 4.2: Added the option for this method0 码力 | 272 页 | 1.12 MB | 3 月前3
julia 1.10.10struct SelfReferential obj::SelfReferential SelfReferential() = (x = new(); x.obj = x) end We can verify that this constructor works and constructs objects that are, in fact, self-referential:CHAPTER 13 older versions, this value is ignored. Lets start Julia with 4 threads: $ julia --threads 4 Let's verify there are 4 threads at our disposal. julia> Threads.nthreads() 4 300CHAPTER 24. MULTI-THREADING line into mycompare, which will allow you to see the comparisons that qsort is performing (and to verify that it is really calling the Julia function that you passed to it). 27.2 Mapping C Types to Julia0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9struct SelfReferential obj::SelfReferential SelfReferential() = (x = new(); x.obj = x) end We can verify that this constructor works and constructs objects that are, in fact, self-referential:CHAPTER 13 older versions, this value is ignored. Lets start Julia with 4 threads: $ julia --threads 4 Let's verify there are 4 threads at our disposal. julia> Threads.nthreads() 4 300CHAPTER 24. MULTI-THREADING line into mycompare, which will allow you to see the comparisons that qsort is performing (and to verify that it is really calling the Julia function that you passed to it). 27.2 Mapping C Types to Julia0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4struct SelfReferential obj::SelfReferential SelfReferential() = (x = new(); x.obj = x) end We can verify that this constructor works and constructs objects that are, in fact, self-referential:CHAPTER 14 older versions, this value is ignored. Lets start Julia with 4 threads: $ julia --threads 4 Let's verify there are 4 threads at our disposal. 318CHAPTER 25. MULTI-THREADING 319 julia> Threads.nthreads() line into mycompare, which will allow you to see the comparisons that qsort is performing (and to verify that it is really calling the Julia function that you passed to it). 28.2 Mapping C Types to Julia0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationstruct SelfReferential obj::SelfReferential SelfReferential() = (x = new(); x.obj = x) end We can verify that this constructor works and constructs objects that are, in fact, self-referential:CHAPTER 14 older versions, this value is ignored. Lets start Julia with 4 threads: $ julia --threads 4 Let's verify there are 4 threads at our disposal. 318CHAPTER 25. MULTI-THREADING 319 julia> Threads.nthreads() line into mycompare, which will allow you to see the comparisons that qsort is performing (and to verify that it is really calling the Julia function that you passed to it). 28.2 Mapping C Types to Julia0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notesstruct SelfReferential obj::SelfReferential SelfReferential() = (x = new(); x.obj = x) end We can verify that this constructor works and constructs objects that are, in fact, self-referential:CHAPTER 14 older versions, this value is ignored. Lets start Julia with 4 threads: $ julia --threads 4 Let's verify there are 4 threads at our disposal. 318CHAPTER 25. MULTI-THREADING 319 julia> Threads.nthreads() line into mycompare, which will allow you to see the comparisons that qsort is performing (and to verify that it is really calling the Julia function that you passed to it). 28.2 Mapping C Types to Julia0 码力 | 2007 页 | 6.73 MB | 3 月前3
Tornado 6.5 DocumentationTo use client certificates, the HTTPServer’s ssl.SSLContext.verify_mode [https://docs.python.org/3/library/ssl.html#ssl.SSLContext.verify_mode] field must be set, e.g.: ssl_ctx = ssl.create_default_context(ssl Purpose.CLIENT_AUTH) ssl_ctx.load_cert_chain("foo.crt", "foo.key") ssl_ctx.load_verify_locations("cacerts.pem") ssl_ctx.verify_mode = ssl.CERT_REQUIRED server = HTTPServer(app, ssl_options=ssl_ctx) By called before the SSL handshake has completed. Use SSLIOStream.wait_for_handshake if you need to verify the client’s certificate or use NPN/ALPN. Changed in version 4.2: Added the option for this method0 码力 | 437 页 | 405.14 KB | 3 月前3
julia 1.13.0 DEVstruct SelfReferential obj::SelfReferential SelfReferential() = (x = new(); x.obj = x) end We can verify that this constructor works and constructs objects that are, in fact, self-referential:CHAPTER 14 thread, was made as such in Julia 1.12 Lets start Julia with 4 threads: $ julia --threads 4 Let's verify there are 4 threads at our disposal. julia> Threads.nthreads() 4 But we are currently on the master line into mycompare, which will allow you to see the comparisons that qsort is performing (and to verify that it is really calling the Julia function that you passed to it). 28.2 Mapping C Types to Julia0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1struct SelfReferential obj::SelfReferential SelfReferential() = (x = new(); x.obj = x) end We can verify that this constructor works and constructs objects that are, in fact, self-referential:CHAPTER 14 interactive thread will not be spawned. Lets start Julia with 4 threads: $ julia --threads 4 Let's verify there are 4 threads at our disposal. julia> Threads.nthreads() 4 But we are currently on the master line into mycompare, which will allow you to see the comparisons that qsort is performing (and to verify that it is really calling the Julia function that you passed to it). 28.2 Mapping C Types to Julia0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4struct SelfReferential obj::SelfReferential SelfReferential() = (x = new(); x.obj = x) end We can verify that this constructor works and constructs objects that are, in fact, self-referential:CHAPTER 14 thread, was made as such in Julia 1.12 Lets start Julia with 4 threads: $ julia --threads 4 Let's verify there are 4 threads at our disposal. julia> Threads.nthreads() 4 But we are currently on the master line into mycompare, which will allow you to see the comparisons that qsort is performing (and to verify that it is really calling the Julia function that you passed to it). 28.2 Mapping C Types to Julia0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 14 条
- 1
- 2













