Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1473)

Side by Side Diff: net/tools/flip_server/acceptor_thread.cc

Issue 401153002: Switch to BoringSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase across DEPS change Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/socket/ssl_session_cache_openssl_unittest.cc ('k') | net/tools/flip_server/spdy_ssl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/tools/flip_server/acceptor_thread.h" 5 #include "net/tools/flip_server/acceptor_thread.h"
6 6
7 #include <errno.h>
7 #include <netinet/in.h> 8 #include <netinet/in.h>
8 #include <netinet/tcp.h> // For TCP_NODELAY 9 #include <netinet/tcp.h> // For TCP_NODELAY
9 #include <sys/socket.h> 10 #include <sys/socket.h>
10 #include <sys/types.h> 11 #include <sys/types.h>
11 12
12 #include <string> 13 #include <string>
13 14
14 #include "net/tools/flip_server/constants.h" 15 #include "net/tools/flip_server/constants.h"
15 #include "net/tools/flip_server/flip_config.h" 16 #include "net/tools/flip_server/flip_config.h"
16 #include "net/tools/flip_server/sm_connection.h" 17 #include "net/tools/flip_server/sm_connection.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 AcceptFromListenFD(); 203 AcceptFromListenFD();
203 } 204 }
204 } 205 }
205 206
206 void SMAcceptorThread::SMConnectionDone(SMConnection* sc) { 207 void SMAcceptorThread::SMConnectionDone(SMConnection* sc) {
207 VLOG(1) << ACCEPTOR_CLIENT_IDENT << "Done with connection."; 208 VLOG(1) << ACCEPTOR_CLIENT_IDENT << "Done with connection.";
208 tmp_unused_server_connections_.push_back(sc); 209 tmp_unused_server_connections_.push_back(sc);
209 } 210 }
210 211
211 } // namespace net 212 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_session_cache_openssl_unittest.cc ('k') | net/tools/flip_server/spdy_ssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698