Insane_DNS/libraries/asio-1.28.1/doc/examples/diffs/http/server/server.hpp.html

113 lines
40 KiB
HTML
Raw Normal View History

2023-10-24 21:59:30 -04:00
<!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.hpp</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:10.608489+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/&#8203;examples/&#8203;cpp03/&#8203;http/&#8203;server/&#8203;server.&#8203;hpp</th><th colspan='2'>src/&#8203;examples/&#8203;cpp11/&#8203;http/&#8203;server/&#8203;server.&#8203;hpp</th></tr>
<tr class="diffhunk"><td colspan="2">&#8942;</td><td colspan="2">&#8942;</td></tr><tr class="diffunmodified"><td class="diffline">1 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">1 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">2 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;server.&#8203;hpp</td><td class="diffline">2 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;server.&#8203;hpp</td></tr>
<tr class="diffunmodified"><td class="diffline">3 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;~~~~~~~~~~</td><td class="diffline">3 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;~~~~~~~~~~</td></tr>
<tr class="diffunmodified"><td class="diffline">4 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">4 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">5 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Copyright<span class="diffponct">&middot;</span>&#8203;(c)&#8203;<span class="diffponct">&middot;</span>&#8203;2003-&#8203;2023<span class="diffponct">&middot;</span>&#8203;Christopher<span class="diffponct">&middot;</span>&#8203;M.&#8203;<span class="diffponct">&middot;</span>&#8203;Kohlhoff<span class="diffponct">&middot;</span>&#8203;(chris<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;kohlhoff<span class="diffponct">&middot;</span>&#8203;dot<span class="diffponct">&middot;</span>&#8203;com)&#8203;</td><td class="diffline">5 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Copyright<span class="diffponct">&middot;</span>&#8203;(c)&#8203;<span class="diffponct">&middot;</span>&#8203;2003-&#8203;2023<span class="diffponct">&middot;</span>&#8203;Christopher<span class="diffponct">&middot;</span>&#8203;M.&#8203;<span class="diffponct">&middot;</span>&#8203;Kohlhoff<span class="diffponct">&middot;</span>&#8203;(chris<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;kohlhoff<span class="diffponct">&middot;</span>&#8203;dot<span class="diffponct">&middot;</span>&#8203;com)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">6 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">6 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">7 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Distributed<span class="diffponct">&middot;</span>&#8203;under<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Boost<span class="diffponct">&middot;</span>&#8203;Software<span class="diffponct">&middot;</span>&#8203;License,&#8203;<span class="diffponct">&middot;</span>&#8203;Version<span class="diffponct">&middot;</span>&#8203;1.&#8203;0.&#8203;<span class="diffponct">&middot;</span>&#8203;(See<span class="diffponct">&middot;</span>&#8203;accompanying</td><td class="diffline">7 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Distributed<span class="diffponct">&middot;</span>&#8203;under<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Boost<span class="diffponct">&middot;</span>&#8203;Software<span class="diffponct">&middot;</span>&#8203;License,&#8203;<span class="diffponct">&middot;</span>&#8203;Version<span class="diffponct">&middot;</span>&#8203;1.&#8203;0.&#8203;<span class="diffponct">&middot;</span>&#8203;(See<span class="diffponct">&middot;</span>&#8203;accompanying</td></tr>
<tr class="diffunmodified"><td class="diffline">8 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;LICENSE_1_0.&#8203;txt<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;copy<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;http:&#8203;/&#8203;/&#8203;www.&#8203;boost.&#8203;org/&#8203;LICENSE_1_0.&#8203;txt)&#8203;</td><td class="diffline">8 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;LICENSE_1_0.&#8203;txt<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;copy<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;http:&#8203;/&#8203;/&#8203;www.&#8203;boost.&#8203;org/&#8203;LICENSE_1_0.&#8203;txt)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">9 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">9 </td><td class="diffpresent">/&#8203;/&#8203;</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">#ifndef<span class="diffponct">&middot;</span>&#8203;HTTP_SERVER_HPP</td><td class="diffline">11 </td><td class="diffpresent">#ifndef<span class="diffponct">&middot;</span>&#8203;HTTP_SERVER_HPP</td></tr>
<tr class="diffunmodified"><td class="diffline">12 </td><td class="diffpresent">#define<span class="diffponct">&middot;</span>&#8203;HTTP_SERVER_HPP</td><td class="diffline">12 </td><td class="diffpresent">#define<span class="diffponct">&middot;</span>&#8203;HTTP_SERVER_HPP</td></tr>
<tr class="diffunmodified"><td class="diffline">13 </td><td class="diffpresent"></td><td class="diffline">13 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;asio.&#8203;hpp&gt;</td><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;asio.&#8203;hpp&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">15 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;string&gt;</td><td class="diffline">15 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;string&gt;</td></tr>
<tr class="diffdeleted"><td class="diffline">16 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;boost/&#8203;noncopyable.&#8203;hpp&gt;</td><td colspan="2"></td></tr>
<tr class="diffunmodified"><td class="diffline">17 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;connection.&#8203;hpp&quot;</td><td class="diffline">16 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;connection.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">18 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;connection_manager.&#8203;hpp&quot;</td><td class="diffline">17 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;connection_manager.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">19 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;request_handler.&#8203;hpp&quot;</td><td class="diffline">18 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;request_handler.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">20 </td><td class="diffpresent"></td><td class="diffline">19 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">21 </td><td class="diffpresent">namespace<span class="diffponct">&middot;</span>&#8203;http<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">20 </td><td class="diffpresent">namespace<span class="diffponct">&middot;</span>&#8203;http<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">22 </td><td class="diffpresent">namespace<span class="diffponct">&middot;</span>&#8203;server<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">21 </td><td class="diffpresent">namespace<span class="diffponct">&middot;</span>&#8203;server<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">23 </td><td class="diffpresent"></td><td class="diffline">22 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">24 </td><td class="diffpresent">/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;top-&#8203;level<span class="diffponct">&middot;</span>&#8203;class<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;HTTP<span class="diffponct">&middot;</span>&#8203;server.&#8203;</td><td class="diffline">23 </td><td class="diffpresent">/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;top-&#8203;level<span class="diffponct">&middot;</span>&#8203;class<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;HTTP<span class="diffponct">&middot;</span>&#8203;server.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">25 </td><td class="diffpresent">class<span class="diffponct">&middot;</span>&#8203;server</td><td class="diffline">24 </td><td class="diffpresent">class<span class="diffponct">&middot;</span>&#8203;server</td></tr>
<tr class="diffdeleted"><td class="diffline">26 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;private<span class="diffponct">&middot;</span>&#8203;boost:&#8203;:&#8203;noncopyable</td><td colspan="2"></td></tr>
<tr class="diffunmodified"><td class="diffline">27 </td><td class="diffpresent">{</td><td class="diffline">25 </td><td class="diffpresent">{</td></tr>
<tr class="diffunmodified"><td class="diffline">28 </td><td class="diffpresent">public:&#8203;</td><td class="diffline">26 </td><td class="diffpresent">public:&#8203;</td></tr>
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">27 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;server(const<span class="diffponct">&middot;</span>&#8203;server&amp;)&#8203;<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;delete;&#8203;</td></tr>
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">28 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;server&amp;<span class="diffponct">&middot;</span>&#8203;operator=(const<span class="diffponct">&middot;</span>&#8203;server&amp;)&#8203;<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;delete;&#8203;</td></tr>
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">29 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">29 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Construct<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;server<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;listen<span class="diffponct">&middot;</span>&#8203;on<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;specified<span class="diffponct">&middot;</span>&#8203;TCP<span class="diffponct">&middot;</span>&#8203;address<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;port,&#8203;<span class="diffponct">&middot;</span>&#8203;and</td><td class="diffline">30 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Construct<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;server<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;listen<span class="diffponct">&middot;</span>&#8203;on<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;specified<span class="diffponct">&middot;</span>&#8203;TCP<span class="diffponct">&middot;</span>&#8203;address<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;port,&#8203;<span class="diffponct">&middot;</span>&#8203;and</td></tr>
<tr class="diffunmodified"><td class="diffline">30 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;serve<span class="diffponct">&middot;</span>&#8203;up<span class="diffponct">&middot;</span>&#8203;files<span class="diffponct">&middot;</span>&#8203;from<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;given<span class="diffponct">&middot;</span>&#8203;directory.&#8203;</td><td class="diffline">31 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;serve<span class="diffponct">&middot;</span>&#8203;up<span class="diffponct">&middot;</span>&#8203;files<span class="diffponct">&middot;</span>&#8203;from<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;given<span class="diffponct">&middot;</span>&#8203;directory.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">31 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;explicit<span class="diffponct">&middot;</span>&#8203;server(const<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;address,&#8203;<span class="diffponct">&middot;</span>&#8203;const<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;port,&#8203;</td><td class="diffline">32 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;explicit<span class="diffponct">&middot;</span>&#8203;server(const<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;address,&#8203;<span class="diffponct">&middot;</span>&#8203;const<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;port,&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">32 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;const<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;doc_root)&#8203;;&#8203;</td><td class="diffline">33 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;const<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;doc_root)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">33 </td><td class="diffpresent"></td><td class="diffline">34 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">34 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;server's<span class="diffponct">&middot;</span>&#8203;io_context<span class="diffponct">&middot;</span>&#8203;loop.&#8203;</td><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;server's<span class="diffponct">&middot;</span>&#8203;io_context<span class="diffponct">&middot;</span>&#8203;loop.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;void<span class="diffponct">&middot;</span>&#8203;run()&#8203;;&#8203;</td><td class="diffline">36 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;void<span class="diffponct">&middot;</span>&#8203;run()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">36 </td><td class="diffpresent"></td><td class="diffline">37 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">37 </td><td class="diffpresent">private:&#8203;</td><td class="diffline">38 </td><td class="diffpresent">private:&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">38 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">I</span><span class="diffchanged2">n</span><span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">a</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;accept<span class="diffponct">&middot;</span>&#8203;operation.&#8203;</td><td class="diffline">39 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">P</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">f</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span><span class="diffchanged2">m</span><span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;accept<span class="diffponct">&middot;</span>&#8203;operation.&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">39 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;void<span class="diffponct">&middot;</span>&#8203;<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()&#8203;;&#8203;</td><td class="diffline">40 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;void<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">d</span><span class="diffchanged2">o</span>_accept()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">40 </td><td class="diffpresent"></td><td class="diffline">41 </td><td class="diffpresent"></td></tr>
<tr class="diffchanged"><td class="diffline">41 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;<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="diffponct">&middot;</span>&#8203;<span class="diffchanged2">c</span>o<span class="diffchanged2">m</span><span class="diffchanged2">p</span><span class="diffchanged2">l</span><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">&middot;</span>&#8203;</span><span class="diffchanged2">o</span><span class="diffchanged2">f</span><span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffponct">&middot;</span>&#8203;<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>o<span class="diffchanged2">u</span><span class="diffchanged2">s</span><span class="diffponct">&middot;</span>&#8203;<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="diffponct">&middot;</span>&#8203;<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><span class="diffchanged2">o</span><span class="diffchanged2">n</span>.&#8203;</td><td class="diffline">42 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">W</span>a<span class="diffchanged2">i</span><span class="diffchanged2">t</span><span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">f</span>o<span class="diffchanged2">r</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">a</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</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><span class="diffchanged2">t</span><span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span>o<span class="diffchanged2">p</span><span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">t</span><span class="diffchanged2">h</span>e<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">s</span>er<span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span>.&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">42 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;void<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span>d<span class="diffchanged2">l</span><span class="diffchanged2">e</span>_a<span class="diffchanged2">c</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">p</span>t<span class="diffchanged2">(</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span>st<span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">:&#8203;</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>o<span class="diffchanged2">d</span><span class="diffchanged2">e</span><span class="diffchanged2">&amp;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">e</span>)&#8203;;&#8203;</td><td class="diffline">43 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;void<span class="diffponct">&middot;</span>&#8203;d<span class="diffchanged2">o</span>_a<span class="diffchanged2">w</span><span class="diffchanged2">a</span><span class="diffchanged2">i</span>t<span class="diffchanged2">_</span>sto<span class="diffchanged2">p</span><span class="diffchanged2">(</span>)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">43 </td><td class="diffpresent"></td><td class="diffline">44 </td><td class="diffpresent"></td></tr>
<tr class="diffdeleted"><td class="diffline">44 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Handle<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;request<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;stop<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;server.&#8203;</td><td colspan="2"></td></tr>
<tr class="diffdeleted"><td class="diffline">45 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;void<span class="diffponct">&middot;</span>&#8203;handle_stop()&#8203;;&#8203;</td><td colspan="2"></td></tr>
<tr class="diffdeleted"><td class="diffline">46 </td><td class="diffpresent"></td><td colspan="2"></td></tr>
<tr class="diffunmodified"><td class="diffline">47 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;io_context<span class="diffponct">&middot;</span>&#8203;used<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;perform<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operations.&#8203;</td><td class="diffline">45 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;io_context<span class="diffponct">&middot;</span>&#8203;used<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;perform<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operations.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">48 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;io_context<span class="diffponct">&middot;</span>&#8203;io_context_;&#8203;</td><td class="diffline">46 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;io_context<span class="diffponct">&middot;</span>&#8203;io_context_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">49 </td><td class="diffpresent"></td><td class="diffline">47 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">50 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;signal_set<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;used<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;register<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;process<span class="diffponct">&middot;</span>&#8203;termination<span class="diffponct">&middot;</span>&#8203;notifications.&#8203;</td><td class="diffline">48 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;signal_set<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;used<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;register<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;process<span class="diffponct">&middot;</span>&#8203;termination<span class="diffponct">&middot;</span>&#8203;notifications.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">51 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;signal_set<span class="diffponct">&middot;</span>&#8203;signals_;&#8203;</td><td class="diffline">49 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;signal_set<span class="diffponct">&middot;</span>&#8203;signals_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">52 </td><td class="diffpresent"></td><td class="diffline">50 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Acceptor<span class="diffponct">&middot;</span>&#8203;used<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;listen<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;incoming<span class="diffponct">&middot;</span>&#8203;connections.&#8203;</td><td class="diffline">51 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Acceptor<span class="diffponct">&middot;</span>&#8203;used<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;listen<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;incoming<span class="diffponct">&middot;</span>&#8203;connections.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;ip:&#8203;:&#8203;tcp:&#8203;:&#8203;acceptor<span class="diffponct">&middot;</span>&#8203;acceptor_;&#8203;</td><td class="diffline">52 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;ip:&#8203;:&#8203;tcp:&#8203;:&#8203;acceptor<span class="diffponct">&middot;</span>&#8203;acceptor_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">55 </td><td class="diffpresent"></td><td class="diffline">53 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">56 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;connection<span class="diffponct">&middot;</span>&#8203;manager<span class="diffponct">&middot;</span>&#8203;which<span class="diffponct">&middot;</span>&#8203;owns<span class="diffponct">&middot;</span>&#8203;all<span class="diffponct">&middot;</span>&#8203;live<span class="diffponct">&middot;</span>&#8203;connections.&#8203;</td><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;connection<span class="diffponct">&middot;</span>&#8203;manager<span class="diffponct">&middot;</span>&#8203;which<span class="diffponct">&middot;</span>&#8203;owns<span class="diffponct">&middot;</span>&#8203;all<span class="diffponct">&middot;</span>&#8203;live<span class="diffponct">&middot;</span>&#8203;connections.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">57 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;connection_manager<span class="diffponct">&middot;</span>&#8203;connection_manager_;&#8203;</td><td class="diffline">55 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;connection_manager<span class="diffponct">&middot;</span>&#8203;connection_manager_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">58 </td><td class="diffpresent"></td><td class="diffline">56 </td><td class="diffpresent"></td></tr>
<tr class="diffdeleted"><td class="diffline">59 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;next<span class="diffponct">&middot;</span>&#8203;connection<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;accepted.&#8203;</td><td colspan="2"></td></tr>
<tr class="diffdeleted"><td class="diffline">60 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;connection_ptr<span class="diffponct">&middot;</span>&#8203;new_connection_;&#8203;</td><td colspan="2"></td></tr>
<tr class="diffdeleted"><td class="diffline">61 </td><td class="diffpresent"></td><td colspan="2"></td></tr>
<tr class="diffunmodified"><td class="diffline">62 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;handler<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;all<span class="diffponct">&middot;</span>&#8203;incoming<span class="diffponct">&middot;</span>&#8203;requests.&#8203;</td><td class="diffline">57 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;handler<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;all<span class="diffponct">&middot;</span>&#8203;incoming<span class="diffponct">&middot;</span>&#8203;requests.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">63 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;request_handler<span class="diffponct">&middot;</span>&#8203;request_handler_;&#8203;</td><td class="diffline">58 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;request_handler<span class="diffponct">&middot;</span>&#8203;request_handler_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">64 </td><td class="diffpresent">};&#8203;</td><td class="diffline">59 </td><td class="diffpresent">};&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">65 </td><td class="diffpresent"></td><td class="diffline">60 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">66 </td><td class="diffpresent">}<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;namespace<span class="diffponct">&middot;</span>&#8203;server</td><td class="diffline">61 </td><td class="diffpresent">}<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;namespace<span class="diffponct">&middot;</span>&#8203;server</td></tr>
<tr class="diffunmodified"><td class="diffline">67 </td><td class="diffpresent">}<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;namespace<span class="diffponct">&middot;</span>&#8203;http</td><td class="diffline">62 </td><td class="diffpresent">}<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;namespace<span class="diffponct">&middot;</span>&#8203;http</td></tr>
<tr class="diffunmodified"><td class="diffline">68 </td><td class="diffpresent"></td><td class="diffline">63 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">69 </td><td class="diffpresent">#endif<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;HTTP_SERVER_HPP</td><td class="diffline">64 </td><td class="diffpresent">#endif<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;HTTP_SERVER_HPP</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>