| 50 | int socket_get_cb(void* self, IStream* stream) { return 0; } |
| 51 | |
| 52 | int timeout_writer(void *self, IStream* stream) { |
| 53 | photon::thread_usleep(5 * 1000UL * 1000UL); |
| 54 | char c = '1'; |
| 55 | stream->write((void*)&c, 1); |
| 56 | return 0; |
| 57 | } |
| 58 | |
| 59 | class SimpleHandler : public http::HTTPHandler { |
| 60 | public: |
nothing calls this directly
no test coverage detected