title: C++ skipping line of code?
body: <h3>Background</h3>
  
  <p>I am writing a multi-threaded, websocket server in C++. </p>
  
  <h3>Problem</h3>
  
  <p>When I try to integrate my HTTP parser, <code>MKFAHTTPRequest Request( std::string( Buffer ) );</code> gets completely skipped during execution. </p>
  
  <p>I've cleaned the project and added -Wall and -Werror (which should tell me that <code>Request</code> is an unused variable, but it doesn't). </p>
  
  <pre><code>void operator()(){
      while( true ){
          if( m_Socket-&gt;is_open() ){
              char Buffer[1024]; 
  
              boost::system::error_code Error; 
  
              std::cout &lt;&lt; "MKFAConnection::operator()() - Reading..." &lt;&lt; std::endl;
              m_Socket-&gt;read_some( boost::asio::buffer( Buffer, sizeof( Buffer ) ), Error ); 
  
              if( !Error ){
                  // This line is getting skipped!?!?!?
                  MKFAHttpRequest Request( std::string( Buffer ) );
  
                  m_Socket-&gt;write_some( boost::asio::buffer( std::string( "Hello World" ) ) ); 
  
              } else break; 
  
          } else break; 
  
      }
  
  }
  </code></pre>