145 lines
95 KiB
HTML
145 lines
95 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en" dir="ltr"
|
||
|
xmlns:dc="http://purl.org/dc/terms/">
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<meta name="generator" content="diff2html.py (http://git.droids-corp.org/gitweb/?p=diff2html)" />
|
||
|
<!--meta name="author" content="Fill in" /-->
|
||
|
<title>HTML Diff http/server/server.cpp</title>
|
||
|
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEXAAAAAgAD///+K/HwIAAAAJUlEQVQI12NYBQQM2IgGBQ4mCIEQW7oyK4phampkGIQAc1G1AQCRxCNbyW92oQAAAABJRU5ErkJggg==" type="image/png" />
|
||
|
<meta property="dc:language" content="en" />
|
||
|
<!--meta property="dc:date" content="" /-->
|
||
|
<meta property="dc:modified" content="2023-07-30T17:02:11.388180+01:00" />
|
||
|
<meta name="description" content="File comparison" />
|
||
|
<meta property="dc:abstract" content="File comparison" />
|
||
|
<style>
|
||
|
table { border:0px; border-collapse:collapse; width: 100%; font-size:0.75em; font-family: Lucida Console, monospace }
|
||
|
td.line { color:#8080a0 }
|
||
|
th { background: black; color: white }
|
||
|
tr.diffunmodified td { background: #D0D0E0 }
|
||
|
tr.diffhunk td { background: #A0A0A0 }
|
||
|
tr.diffadded td { background: #CCFFCC }
|
||
|
tr.diffdeleted td { background: #FFCCCC }
|
||
|
tr.diffchanged td { background: #FFFFA0 }
|
||
|
span.diffchanged2 { background: #E0C880 }
|
||
|
span.diffponct { color: #B08080 }
|
||
|
tr.diffmisc td {}
|
||
|
tr.diffseparator td {}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<table class="diff">
|
||
|
<tr><th colspan='2'>src/​examples/​cpp03/​http/​server/​server.​cpp</th><th colspan='2'>src/​examples/​cpp11/​http/​server/​server.​cpp</th></tr>
|
||
|
<tr class="diffhunk"><td colspan="2">⋮</td><td colspan="2">⋮</td></tr><tr class="diffunmodified"><td class="diffline">1 </td><td class="diffpresent">/​/​</td><td class="diffline">1 </td><td class="diffpresent">/​/​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">2 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​server.​cpp</td><td class="diffline">2 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​server.​cpp</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">3 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​~~~~~~~~~~</td><td class="diffline">3 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​~~~~~~~~~~</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">4 </td><td class="diffpresent">/​/​</td><td class="diffline">4 </td><td class="diffpresent">/​/​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">5 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Copyright<span class="diffponct">·</span>​(c)​<span class="diffponct">·</span>​2003-​2023<span class="diffponct">·</span>​Christopher<span class="diffponct">·</span>​M.​<span class="diffponct">·</span>​Kohlhoff<span class="diffponct">·</span>​(chris<span class="diffponct">·</span>​at<span class="diffponct">·</span>​kohlhoff<span class="diffponct">·</span>​dot<span class="diffponct">·</span>​com)​</td><td class="diffline">5 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Copyright<span class="diffponct">·</span>​(c)​<span class="diffponct">·</span>​2003-​2023<span class="diffponct">·</span>​Christopher<span class="diffponct">·</span>​M.​<span class="diffponct">·</span>​Kohlhoff<span class="diffponct">·</span>​(chris<span class="diffponct">·</span>​at<span class="diffponct">·</span>​kohlhoff<span class="diffponct">·</span>​dot<span class="diffponct">·</span>​com)​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">6 </td><td class="diffpresent">/​/​</td><td class="diffline">6 </td><td class="diffpresent">/​/​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">7 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Distributed<span class="diffponct">·</span>​under<span class="diffponct">·</span>​the<span class="diffponct">·</span>​Boost<span class="diffponct">·</span>​Software<span class="diffponct">·</span>​License,​<span class="diffponct">·</span>​Version<span class="diffponct">·</span>​1.​0.​<span class="diffponct">·</span>​(See<span class="diffponct">·</span>​accompanying</td><td class="diffline">7 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​Distributed<span class="diffponct">·</span>​under<span class="diffponct">·</span>​the<span class="diffponct">·</span>​Boost<span class="diffponct">·</span>​Software<span class="diffponct">·</span>​License,​<span class="diffponct">·</span>​Version<span class="diffponct">·</span>​1.​0.​<span class="diffponct">·</span>​(See<span class="diffponct">·</span>​accompanying</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">8 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​file<span class="diffponct">·</span>​LICENSE_1_0.​txt<span class="diffponct">·</span>​or<span class="diffponct">·</span>​copy<span class="diffponct">·</span>​at<span class="diffponct">·</span>​http:​/​/​www.​boost.​org/​LICENSE_1_0.​txt)​</td><td class="diffline">8 </td><td class="diffpresent">/​/​<span class="diffponct">·</span>​file<span class="diffponct">·</span>​LICENSE_1_0.​txt<span class="diffponct">·</span>​or<span class="diffponct">·</span>​copy<span class="diffponct">·</span>​at<span class="diffponct">·</span>​http:​/​/​www.​boost.​org/​LICENSE_1_0.​txt)​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">9 </td><td class="diffpresent">/​/​</td><td class="diffline">9 </td><td class="diffpresent">/​/​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">10 </td><td class="diffpresent"></td><td class="diffline">10 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"server.​hpp"</td><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">·</span>​"server.​hpp"</td></tr>
|
||
|
<tr class="diffdeleted"><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<boost/​bind/​bind.​hpp></td><td colspan="2"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<signal.​h></td><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<signal.​h></td></tr>
|
||
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">·</span>​<utility></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">14 </td><td class="diffpresent"></td><td class="diffline">14 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">15 </td><td class="diffpresent">namespace<span class="diffponct">·</span>​http<span class="diffponct">·</span>​{</td><td class="diffline">15 </td><td class="diffpresent">namespace<span class="diffponct">·</span>​http<span class="diffponct">·</span>​{</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">16 </td><td class="diffpresent">namespace<span class="diffponct">·</span>​server<span class="diffponct">·</span>​{</td><td class="diffline">16 </td><td class="diffpresent">namespace<span class="diffponct">·</span>​server<span class="diffponct">·</span>​{</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">17 </td><td class="diffpresent"></td><td class="diffline">17 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">18 </td><td class="diffpresent">server:​:​server(const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​address,​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​port,​</td><td class="diffline">18 </td><td class="diffpresent">server:​:​server(const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​address,​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​port,​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">19 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​doc_root)​</td><td class="diffline">19 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​const<span class="diffponct">·</span>​std:​:​string&<span class="diffponct">·</span>​doc_root)​</td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">20 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​io_context_()​,​</td><td class="diffline">20 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​:​<span class="diffponct">·</span>​io_context_(<span class="diffchanged2">1</span>)​,​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">21 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​signals_(io_context_)​,​</td><td class="diffline">21 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​signals_(io_context_)​,​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">22 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_(io_context_​)​,​</td><td class="diffline">22 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_(io_context_​)​,​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">23 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​connection_manager_()​,​</td><td class="diffline">23 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​connection_manager_()​,​</td></tr>
|
||
|
<tr class="diffdeleted"><td class="diffline">24 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​new_connection_()​,​</td><td colspan="2"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">25 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​request_handler_(doc_​root)​</td><td class="diffline">24 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​request_handler_(doc_​root)​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">26 </td><td class="diffpresent">{</td><td class="diffline">25 </td><td class="diffpresent">{</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">27 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Register<span class="diffponct">·</span>​to<span class="diffponct">·</span>​handle<span class="diffponct">·</span>​the<span class="diffponct">·</span>​signals<span class="diffponct">·</span>​that<span class="diffponct">·</span>​indicate<span class="diffponct">·</span>​when<span class="diffponct">·</span>​the<span class="diffponct">·</span>​server<span class="diffponct">·</span>​should<span class="diffponct">·</span>​exit.​</td><td class="diffline">26 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Register<span class="diffponct">·</span>​to<span class="diffponct">·</span>​handle<span class="diffponct">·</span>​the<span class="diffponct">·</span>​signals<span class="diffponct">·</span>​that<span class="diffponct">·</span>​indicate<span class="diffponct">·</span>​when<span class="diffponct">·</span>​the<span class="diffponct">·</span>​server<span class="diffponct">·</span>​should<span class="diffponct">·</span>​exit.​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">28 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​It<span class="diffponct">·</span>​is<span class="diffponct">·</span>​safe<span class="diffponct">·</span>​to<span class="diffponct">·</span>​register<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​same<span class="diffponct">·</span>​signal<span class="diffponct">·</span>​multiple<span class="diffponct">·</span>​times<span class="diffponct">·</span>​in<span class="diffponct">·</span>​a<span class="diffponct">·</span>​program,​</td><td class="diffline">27 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​It<span class="diffponct">·</span>​is<span class="diffponct">·</span>​safe<span class="diffponct">·</span>​to<span class="diffponct">·</span>​register<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​same<span class="diffponct">·</span>​signal<span class="diffponct">·</span>​multiple<span class="diffponct">·</span>​times<span class="diffponct">·</span>​in<span class="diffponct">·</span>​a<span class="diffponct">·</span>​program,​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">29 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​provided<span class="diffponct">·</span>​all<span class="diffponct">·</span>​registration<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​specified<span class="diffponct">·</span>​signal<span class="diffponct">·</span>​is<span class="diffponct">·</span>​made<span class="diffponct">·</span>​through<span class="diffponct">·</span>​Asio.​</td><td class="diffline">28 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​provided<span class="diffponct">·</span>​all<span class="diffponct">·</span>​registration<span class="diffponct">·</span>​for<span class="diffponct">·</span>​the<span class="diffponct">·</span>​specified<span class="diffponct">·</span>​signal<span class="diffponct">·</span>​is<span class="diffponct">·</span>​made<span class="diffponct">·</span>​through<span class="diffponct">·</span>​Asio.​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">30 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​signals_.​add(SIGINT)​;​</td><td class="diffline">29 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​signals_.​add(SIGINT)​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">31 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​signals_.​add(SIGTERM)​;​</td><td class="diffline">30 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​signals_.​add(SIGTERM)​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">32 </td><td class="diffpresent">#if<span class="diffponct">·</span>​defined(SIGQUIT)​</td><td class="diffline">31 </td><td class="diffpresent">#if<span class="diffponct">·</span>​defined(SIGQUIT)​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">33 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​signals_.​add(SIGQUIT)​;​</td><td class="diffline">32 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​signals_.​add(SIGQUIT)​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">34 </td><td class="diffpresent">#endif<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​defined(SIGQUIT)​</td><td class="diffline">33 </td><td class="diffpresent">#endif<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​defined(SIGQUIT)​</td></tr>
|
||
|
<tr class="diffdeleted"><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​signals_.​async_wait(boost:​:​bind(&server:​:​handle_stop,​<span class="diffponct">·</span>​this)​)​;​</td><td colspan="2"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">36 </td><td class="diffpresent"></td><td class="diffline">34 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​do_await_stop()​;​</td></tr>
|
||
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">36 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">37 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Open<span class="diffponct">·</span>​the<span class="diffponct">·</span>​acceptor<span class="diffponct">·</span>​with<span class="diffponct">·</span>​the<span class="diffponct">·</span>​option<span class="diffponct">·</span>​to<span class="diffponct">·</span>​reuse<span class="diffponct">·</span>​the<span class="diffponct">·</span>​address<span class="diffponct">·</span>​(i.​e.​<span class="diffponct">·</span>​SO_REUSEADDR)​.​</td><td class="diffline">37 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​Open<span class="diffponct">·</span>​the<span class="diffponct">·</span>​acceptor<span class="diffponct">·</span>​with<span class="diffponct">·</span>​the<span class="diffponct">·</span>​option<span class="diffponct">·</span>​to<span class="diffponct">·</span>​reuse<span class="diffponct">·</span>​the<span class="diffponct">·</span>​address<span class="diffponct">·</span>​(i.​e.​<span class="diffponct">·</span>​SO_REUSEADDR)​.​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">38 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​ip:​:​tcp:​:​resolver<span class="diffponct">·</span>​resolver(io_context_)​;​</td><td class="diffline">38 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​ip:​:​tcp:​:​resolver<span class="diffponct">·</span>​resolver(io_context_)​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">39 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​ip:​:​tcp:​:​endpoint<span class="diffponct">·</span>​endpoint<span class="diffponct">·</span>​=</td><td class="diffline">39 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​asio:​:​ip:​:​tcp:​:​endpoint<span class="diffponct">·</span>​endpoint<span class="diffponct">·</span>​=</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">40 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​*resolver.​resolve(address,​<span class="diffponct">·</span>​port)​.​begin()​;​</td><td class="diffline">40 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​*resolver.​resolve(address,​<span class="diffponct">·</span>​port)​.​begin()​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">41 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_.​open(endpoint.​protocol()​)​;​</td><td class="diffline">41 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_.​open(endpoint.​protocol()​)​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">42 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_.​set_option(asio:​:​ip:​:​tcp:​:​acceptor:​:​reuse_address(true)​)​;​</td><td class="diffline">42 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_.​set_option(asio:​:​ip:​:​tcp:​:​acceptor:​:​reuse_address(true)​)​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">43 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_.​bind(endpoint)​;​</td><td class="diffline">43 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_.​bind(endpoint)​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">44 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_.​listen()​;​</td><td class="diffline">44 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_.​listen()​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">45 </td><td class="diffpresent"></td><td class="diffline">45 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">46 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span>_accept()​;​</td><td class="diffline">46 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">d</span><span class="diffchanged2">o</span>_accept()​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">47 </td><td class="diffpresent">}</td><td class="diffline">47 </td><td class="diffpresent">}</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">48 </td><td class="diffpresent"></td><td class="diffline">48 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">49 </td><td class="diffpresent">void<span class="diffponct">·</span>​server:​:​run()​</td><td class="diffline">49 </td><td class="diffpresent">void<span class="diffponct">·</span>​server:​:​run()​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">50 </td><td class="diffpresent">{</td><td class="diffline">50 </td><td class="diffpresent">{</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">51 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​io_context:​:​run()​<span class="diffponct">·</span>​call<span class="diffponct">·</span>​will<span class="diffponct">·</span>​block<span class="diffponct">·</span>​until<span class="diffponct">·</span>​all<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operations</td><td class="diffline">51 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​The<span class="diffponct">·</span>​io_context:​:​run()​<span class="diffponct">·</span>​call<span class="diffponct">·</span>​will<span class="diffponct">·</span>​block<span class="diffponct">·</span>​until<span class="diffponct">·</span>​all<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operations</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">52 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​have<span class="diffponct">·</span>​finished.​<span class="diffponct">·</span>​While<span class="diffponct">·</span>​the<span class="diffponct">·</span>​server<span class="diffponct">·</span>​is<span class="diffponct">·</span>​running,​<span class="diffponct">·</span>​there<span class="diffponct">·</span>​is<span class="diffponct">·</span>​always<span class="diffponct">·</span>​at<span class="diffponct">·</span>​least<span class="diffponct">·</span>​one</td><td class="diffline">52 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​have<span class="diffponct">·</span>​finished.​<span class="diffponct">·</span>​While<span class="diffponct">·</span>​the<span class="diffponct">·</span>​server<span class="diffponct">·</span>​is<span class="diffponct">·</span>​running,​<span class="diffponct">·</span>​there<span class="diffponct">·</span>​is<span class="diffponct">·</span>​always<span class="diffponct">·</span>​at<span class="diffponct">·</span>​least<span class="diffponct">·</span>​one</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operation<span class="diffponct">·</span>​outstanding:​<span class="diffponct">·</span>​the<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​accept<span class="diffponct">·</span>​call<span class="diffponct">·</span>​waiting</td><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​operation<span class="diffponct">·</span>​outstanding:​<span class="diffponct">·</span>​the<span class="diffponct">·</span>​asynchronous<span class="diffponct">·</span>​accept<span class="diffponct">·</span>​call<span class="diffponct">·</span>​waiting</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​for<span class="diffponct">·</span>​new<span class="diffponct">·</span>​incoming<span class="diffponct">·</span>​connections.​</td><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​for<span class="diffponct">·</span>​new<span class="diffponct">·</span>​incoming<span class="diffponct">·</span>​connections.​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">55 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​io_context_.​run()​;​</td><td class="diffline">55 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​io_context_.​run()​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">56 </td><td class="diffpresent">}</td><td class="diffline">56 </td><td class="diffpresent">}</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">57 </td><td class="diffpresent"></td><td class="diffline">57 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">58 </td><td class="diffpresent">void<span class="diffponct">·</span>​server:​:​<span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span>_accept()​</td><td class="diffline">58 </td><td class="diffpresent">void<span class="diffponct">·</span>​server:​:​<span class="diffchanged2">d</span><span class="diffchanged2">o</span>_accept()​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">59 </td><td class="diffpresent">{</td><td class="diffline">59 </td><td class="diffpresent">{</td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">60 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffchanged2">_</span>c<span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">n</span>e<span class="diffchanged2">c</span>t<span class="diffchanged2">i</span>o<span class="diffchanged2">n</span>_.​<span class="diffchanged2">r</span><span class="diffchanged2">e</span>s<span class="diffchanged2">e</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span>n<span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>c<span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span>c<span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">(</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">_</span>c<span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span>e<span class="diffchanged2">x</span>t​<span class="diffchanged2">_</span><span class="diffchanged2">,​</span></td><td class="diffline">60 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span>c<span class="diffchanged2">c</span>e<span class="diffchanged2">p</span>to<span class="diffchanged2">r</span>_.​<span class="diffchanged2">a</span>s<span class="diffchanged2">y</span>nc<span class="diffchanged2">_</span><span class="diffchanged2">a</span>cce<span class="diffchanged2">p</span>t<span class="diffchanged2">(</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">61 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span>t<span class="diffchanged2">i</span>o<span class="diffchanged2">n</span>_<span class="diffchanged2">m</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">a</span><span class="diffchanged2">g</span>e<span class="diffchanged2">r</span><span class="diffchanged2">_</span>,​<span class="diffponct">·</span>​<span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">q</span><span class="diffchanged2">u</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span>t<span class="diffchanged2">_</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span>e<span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">61 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">[</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">]</span><span class="diffchanged2">(</span><span class="diffchanged2">s</span>t<span class="diffchanged2">d</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">r</span>o<span class="diffchanged2">r</span>_<span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>e<span class="diffchanged2">c</span>,​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">i</span><span class="diffchanged2">p</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span>t<span class="diffchanged2">c</span><span class="diffchanged2">p</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span>e<span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">e</span><span class="diffchanged2">t</span><span class="diffchanged2">)​</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">62 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">_</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">n​</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_</span><span class="diffchanged2">-​</span><span class="diffchanged2">></span><span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">e</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">,​</span></td><td class="diffline">62 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">{</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">63 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span><span class="diffchanged2">s</span>t<span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">b</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">(</span><span class="diffchanged2">&</span>server<span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">h</span>a<span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span>a<span class="diffchanged2">c</span><span class="diffchanged2">c</span>e<span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">,​</span><span class="diffponct">·</span>​this<span class="diffchanged2">,​</span></td><td class="diffline">63 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffponct">·</span>​<span class="diffchanged2">C</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span>t<span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>server<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">y</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>a<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">g</span><span class="diffchanged2">n</span>a<span class="diffchanged2">l</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span>e<span class="diffchanged2">f</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​this</td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">64 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span>pl<span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span>h<span class="diffchanged2">o</span><span class="diffchanged2">l</span>der<span class="diffchanged2">s</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span>e<span class="diffchanged2">r</span><span class="diffchanged2">r</span>or<span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">64 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">m</span>pl<span class="diffchanged2">e</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>h<span class="diffchanged2">a</span><span class="diffchanged2">n</span>d<span class="diffchanged2">l</span>er<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span>e<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span>o<span class="diffchanged2"><span class="diffponct">·</span>​</span>r<span class="diffchanged2">u</span><span class="diffchanged2">n</span><span class="diffchanged2">.​</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">65 </td><td class="diffpresent"><span class="diffchanged2">}</span></td><td class="diffline">65 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">(</span><span class="diffchanged2">!</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">_</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span></td></tr>
|
||
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">66 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​{</td></tr>
|
||
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">67 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​return;​</td></tr>
|
||
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">68 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​}</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">66 </td><td class="diffpresent"></td><td class="diffline">69 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">67 </td><td class="diffpresent"><span class="diffchanged2">v</span><span class="diffchanged2">o</span><span class="diffchanged2">i</span><span class="diffchanged2">d</span><span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">s</span>i<span class="diffchanged2">o</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">d</span>e<span class="diffchanged2">&</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">e</span>)​</td><td class="diffline">70 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>i<span class="diffchanged2">f</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">(</span><span class="diffchanged2">!</span>e<span class="diffchanged2">c</span>)​</td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">68 </td><td class="diffpresent">{</td><td class="diffline">71 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>{</td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">69 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffponct">·</span>​<span class="diffchanged2">C</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffponct">·</span>​<span class="diffchanged2">w</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">v</span>er<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span>s<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span>d<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">y</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>a<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">g</span><span class="diffchanged2">n</span>a<span class="diffchanged2">l</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">e</span><span class="diffchanged2">f</span><span class="diffchanged2">o</span>re<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>co<span class="diffchanged2">m</span><span class="diffchanged2">p</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span>tion</td><td class="diffline">72 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_</span><span class="diffchanged2">m</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">a</span><span class="diffchanged2">g</span>er<span class="diffchanged2">_</span><span c
|
||
|
<tr class="diffchanged"><td class="diffline">70 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffponct">·</span>​<span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span>d<span class="diffchanged2">l</span>e<span class="diffchanged2">r</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>c<span class="diffchanged2">h</span>an<span class="diffchanged2">c</span>e<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffponct">·</span>​run<span class="diffchanged2">.​</span></td><td class="diffline">73 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span>d<span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">m</span><span class="diffchanged2">o</span><span class="diffchanged2">v</span>e<span class="diffchanged2">(</span><span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">e</span><span class="diffchanged2">t</span><span class="diffchanged2">)​</span><span class="diffchanged2">,​</span><span class="diffponct">·</span>​<span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span>c<span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_</span><span class="diffchanged2">m</span>an<span class="diffchanged2">a</span><span class="diffchanged2">g</span>e<span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">,​</span><span class="diffponct">·</span>​r<span class="diffchanged2">e</span><span class="diffchanged2">q</span>u<span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span>n<span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">71 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffponct">·</span>​<span class="diffchanged2">(</span><span class="diffchanged2">!</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">_</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">)​</span></td><td class="diffline">74 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">}</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">72 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">{</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">73 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">t</span><span class="diffchanged2">u</span><span class="diffchanged2">r</span><span class="diffchanged2">n</span><span class="diffchanged2">;​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">74 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">}</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">75 </td><td class="diffpresent"></td><td class="diffline">75 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">76 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">i</span><span class="diffchanged2">f</span><span class="diffponct">·</span>​<span class="diffchanged2">(</span><span class="diffchanged2">!</span>e)​</td><td class="diffline">76 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2">d</span><span class="diffchanged2">o</span><span class="diffchanged2">_</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span>e<span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span>)​<span class="diffchanged2">;​</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">77 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">{</span></td><td class="diffline">77 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">}</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">78 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_</span><span class="diffchanged2">m</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">a</span><span class="diffchanged2">g</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">w</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">n</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">_​</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">79 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">}</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">80 </td><td class="diffpresent"><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">81 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">t</span><span class="diffchanged2">_</span><span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">82 </td><td class="diffpresent">}</td><td class="diffline">78 </td><td class="diffpresent">}</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">83 </td><td class="diffpresent"></td><td class="diffline">79 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">84 </td><td class="diffpresent">void<span class="diffponct">·</span>​server:​:​<span class="diffchanged2">h</span>a<span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span>_stop()​</td><td class="diffline">80 </td><td class="diffpresent">void<span class="diffponct">·</span>​server:​:​<span class="diffchanged2">d</span><span class="diffchanged2">o</span><span class="diffchanged2">_</span>a<span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span>_stop()​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">85 </td><td class="diffpresent">{</td><td class="diffline">81 </td><td class="diffpresent">{</td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">86 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">T</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffponct">·</span>​<span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffponct">·</span>​s<span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">y</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">l</span>i<span class="diffchanged2">n</span>g<span class="diffchanged2"><span class="diffponct">·</span>​</span>a<span class="diffchanged2">l</span>l<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span>s<span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffchanged2"><span class="diffponct">·</span>​</span>async<span class="diffchanged2">h</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">s</span></td><td class="diffline">82 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​sig<span class="diffchanged2">n</span>als<span class="diffchanged2">_</span><span class="diffchanged2">.​</span>async<span class="diffchanged2">_</span><span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">(</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">87 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffponct">·</span>​<span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">a</span>t<span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span>s<span class="diffchanged2">.​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">O</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span><span class="diffchanged2">l</span><span class="diffchanged2">l</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span>er<span class="diffchanged2">a</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span>o<span class="diffchanged2">n</span><span class="diffchanged2">s</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">v</span>e<span class="diffponct">·</span>​<span class="diffchanged2">f</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">h</span>e<span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​i<span class="diffchanged2">o</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span>nt<span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">r</span><span class="diffchanged2">u</span>n<span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">a</span><span class="diffchanged2">l</span><span class="diffchanged2">l</span></td><td class="diffline">83 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">[</span>t<span class="diffchanged2">h</span><span class="diffchanged2">i</span>s<span class="diffchanged2">]</span><span class="diffchanged2">(</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">d</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span>er<span class="diffchanged2">r</span>o<span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">d</span>e<span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">*</span>e<span class="diffchanged2">c</span><span class="diffchanged2">*</span><span class="diffchanged2">/​</span><span class="diffchanged2">,​</span><span class="diffponct">·</sp
|
||
|
<tr class="diffchanged"><td class="diffline">88 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffponct">·</span>​<span class="diffchanged2">w</span><span class="diffchanged2">i</span><span class="diffchanged2">l</span><span class="diffchanged2">l</span><span class="diffponct">·</span>​<span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">.​</span></td><td class="diffline">84 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">{</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">89 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">a</span><span class="diffchanged2">c</span><span class="diffchanged2">c</span>e<span class="diffchanged2">p</span>to<span class="diffchanged2">r</span><span class="diffchanged2">_</span><span class="diffchanged2">.​</span>clos<span class="diffchanged2">e</span><span class="diffchanged2">(</span><span class="diffchanged2">)​</span><span class="diffchanged2">;​</span></td><td class="diffline">85 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffponct">·</span>​<span class="diffchanged2">T</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffponct">·</span>​<span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">v</span>e<span class="diffchanged2">r</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">s</span>to<span class="diffchanged2">p</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">b</span><span class="diffchanged2">y</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">c</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span>c<span class="diffchanged2">e</span><span class="diffchanged2">l</span><span class="diffchanged2">l</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span><span class="diffchanged2">l</span>l<span class="diffchanged2"><span class="diffponct">·</span>​</span>o<span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">g</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span>s<span class="diffchanged2">y</span><span class="diffchanged2">n</span><span class="diffchanged2">c</span><span class="diffchanged2">h</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">s</span></td></tr>
|
||
|
<tr class="diffchanged"><td class="diffline">90 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffchanged2">c</span>onne<span class="diffchanged2">c</span>tion<span class="diffchanged2">_</span><span class="diffchanged2">m</span>an<span class="diffchanged2">a</span><span class="diffchanged2">g</span>e<span class="diffchanged2">r</span>_<span class="diffchanged2">.​</span><span class="diffchanged2">s</span>t<span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">_</span><span class="diffchanged2">a</span><span class="diffchanged2">l</span><span class="diffchanged2">l</span>()​<span class="diffchanged2">;​</span></td><td class="diffline">86 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffponct">·</span>​<span class="diffchanged2">/​</span><span class="diffchanged2">/​</span><span class="diffponct">·</span>​<span class="diffchanged2">o</span><span class="diffchanged2">p</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">a</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span>on<span class="diffchanged2">s</span><span class="diffchanged2">.​</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">O</span>n<span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">a</span><span class="diffchanged2">l</span><span class="diffchanged2">l</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">o</span><span class="diffchanged2">p</span>e<span class="diffchanged2">r</span><span class="diffchanged2">a</span>tion<span class="diffchanged2">s</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">h</span>a<span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">f</span><span class="diffchanged2">i</span>n<span class="diffchanged2">i</span><span class="diffchanged2">s</span><span class="diffchanged2">h</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">t</span><span class="diffchanged2">h</span>e<span class="diffchanged2"><span class="diffponct">·</span>​</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span>_<span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span>t<span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">t</span><span class="diffchanged2">:​</span><span class="diffchanged2">:​</span><span class="diffchanged2">r</span><span class="diffchanged2">u</span><span class="diffchanged2">n</span>()​</td></tr>
|
||
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">87 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​call<span class="diffponct">·</span>​will<span class="diffponct">·</span>​exit.​</td></tr>
|
||
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">88 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​acceptor_.​close()​;​</td></tr>
|
||
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">89 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​connection_manager_.​stop_all()​;​</td></tr>
|
||
|
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">90 </td><td class="diffpresent"><span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​<span class="diffponct">·</span>​})​;​</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">91 </td><td class="diffpresent">}</td><td class="diffline">91 </td><td class="diffpresent">}</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">92 </td><td class="diffpresent"></td><td class="diffline">92 </td><td class="diffpresent"></td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">93 </td><td class="diffpresent">}<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​namespace<span class="diffponct">·</span>​server</td><td class="diffline">93 </td><td class="diffpresent">}<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​namespace<span class="diffponct">·</span>​server</td></tr>
|
||
|
<tr class="diffunmodified"><td class="diffline">94 </td><td class="diffpresent">}<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​namespace<span class="diffponct">·</span>​http</td><td class="diffline">94 </td><td class="diffpresent">}<span class="diffponct">·</span>​/​/​<span class="diffponct">·</span>​namespace<span class="diffponct">·</span>​http</td></tr>
|
||
|
|
||
|
</table>
|
||
|
|
||
|
<footer>
|
||
|
<p>Modified at 30.07.2023. HTML formatting created by <a href="http://git.droids-corp.org/gitweb/?p=diff2html;a=summary">diff2html</a>. </p>
|
||
|
</footer>
|
||
|
</body></html>
|