Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74819 - in trunk/libs/asio/example/http: server server2 server3
From: chris_at_[hidden]
Date: 2011-10-08 17:21:55


Author: chris_kohlhoff
Date: 2011-10-08 17:21:54 EDT (Sat, 08 Oct 2011)
New Revision: 74819
URL: http://svn.boost.org/trac/boost/changeset/74819

Log:
Remove unused state.
Text files modified:
   trunk/libs/asio/example/http/server/request_parser.cpp | 11 -----------
   trunk/libs/asio/example/http/server/request_parser.hpp | 1 -
   trunk/libs/asio/example/http/server2/request_parser.cpp | 11 -----------
   trunk/libs/asio/example/http/server2/request_parser.hpp | 1 -
   trunk/libs/asio/example/http/server3/request_parser.cpp | 11 -----------
   trunk/libs/asio/example/http/server3/request_parser.hpp | 1 -
   6 files changed, 0 insertions(+), 36 deletions(-)

Modified: trunk/libs/asio/example/http/server/request_parser.cpp
==============================================================================
--- trunk/libs/asio/example/http/server/request_parser.cpp (original)
+++ trunk/libs/asio/example/http/server/request_parser.cpp 2011-10-08 17:21:54 EDT (Sat, 08 Oct 2011)
@@ -54,17 +54,6 @@
       req.method.push_back(input);
       return boost::indeterminate;
     }
- case uri_start:
- if (is_ctl(input))
- {
- return false;
- }
- else
- {
- state_ = uri;
- req.uri.push_back(input);
- return boost::indeterminate;
- }
   case uri:
     if (input == ' ')
     {

Modified: trunk/libs/asio/example/http/server/request_parser.hpp
==============================================================================
--- trunk/libs/asio/example/http/server/request_parser.hpp (original)
+++ trunk/libs/asio/example/http/server/request_parser.hpp 2011-10-08 17:21:54 EDT (Sat, 08 Oct 2011)
@@ -68,7 +68,6 @@
   {
     method_start,
     method,
- uri_start,
     uri,
     http_version_h,
     http_version_t_1,

Modified: trunk/libs/asio/example/http/server2/request_parser.cpp
==============================================================================
--- trunk/libs/asio/example/http/server2/request_parser.cpp (original)
+++ trunk/libs/asio/example/http/server2/request_parser.cpp 2011-10-08 17:21:54 EDT (Sat, 08 Oct 2011)
@@ -54,17 +54,6 @@
       req.method.push_back(input);
       return boost::indeterminate;
     }
- case uri_start:
- if (is_ctl(input))
- {
- return false;
- }
- else
- {
- state_ = uri;
- req.uri.push_back(input);
- return boost::indeterminate;
- }
   case uri:
     if (input == ' ')
     {

Modified: trunk/libs/asio/example/http/server2/request_parser.hpp
==============================================================================
--- trunk/libs/asio/example/http/server2/request_parser.hpp (original)
+++ trunk/libs/asio/example/http/server2/request_parser.hpp 2011-10-08 17:21:54 EDT (Sat, 08 Oct 2011)
@@ -68,7 +68,6 @@
   {
     method_start,
     method,
- uri_start,
     uri,
     http_version_h,
     http_version_t_1,

Modified: trunk/libs/asio/example/http/server3/request_parser.cpp
==============================================================================
--- trunk/libs/asio/example/http/server3/request_parser.cpp (original)
+++ trunk/libs/asio/example/http/server3/request_parser.cpp 2011-10-08 17:21:54 EDT (Sat, 08 Oct 2011)
@@ -54,17 +54,6 @@
       req.method.push_back(input);
       return boost::indeterminate;
     }
- case uri_start:
- if (is_ctl(input))
- {
- return false;
- }
- else
- {
- state_ = uri;
- req.uri.push_back(input);
- return boost::indeterminate;
- }
   case uri:
     if (input == ' ')
     {

Modified: trunk/libs/asio/example/http/server3/request_parser.hpp
==============================================================================
--- trunk/libs/asio/example/http/server3/request_parser.hpp (original)
+++ trunk/libs/asio/example/http/server3/request_parser.hpp 2011-10-08 17:21:54 EDT (Sat, 08 Oct 2011)
@@ -68,7 +68,6 @@
   {
     method_start,
     method,
- uri_start,
     uri,
     http_version_h,
     http_version_t_1,


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk