GCC Code Coverage Report


Directory: libs/http_proto/
File: libs/http_proto/src/filter.cpp
Date: 2024-03-04 19:17:06
Exec Total Coverage
Lines: 0 10 0.0%
Functions: 0 1 0.0%
Branches: 0 4 0.0%

Line Branch Exec Source
1 //
2 // Copyright (c) 2023 Vinnie Falco (vinnie.falco@gmail.com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/cppalliance/http_proto
8 //
9
10 #include <boost/http_proto/filter.hpp>
11 #include <boost/buffers/range.hpp>
12
13 namespace boost {
14 namespace http_proto {
15
16 auto
17 filter::
18 on_process(
19 buffers::mutable_buffer_span out,
20 buffers::const_buffer_span in,
21 bool more) ->
22 results
23 {
24 results rv;
25 auto it0 = buffers::begin(in);
26 auto it1 = buffers::begin(out);
27 auto const end0 = buffers::end(in);
28 auto const end1 = buffers::end(out);
29 while(
30 it0 != end0 ||
31 it1 != end1)
32 {
33 ++it1;
34 (void)more;
35 (void)end0;
36 (void)it0;
37 }
38 return rv;
39 }
40
41 } // http_proto
42 } // boost
43