| 1072 | } |
| 1073 | |
| 1074 | void RtmpConnect::StopConnect(Socket* s) { |
| 1075 | policy::RtmpContext* ctx = |
| 1076 | static_cast<policy::RtmpContext*>(s->parsing_context()); |
| 1077 | if (ctx == NULL) { |
| 1078 | LOG(FATAL) << "RtmpContext of " << *s << " is NULL"; |
| 1079 | } else { |
| 1080 | ctx->OnConnected(EFAILEDSOCKET); |
| 1081 | } |
| 1082 | } |
| 1083 | |
| 1084 | class RtmpSocketCreator : public SocketCreator { |
| 1085 | public: |
no test coverage detected