Testing with very long packets
This commit is contained in:
+3
-1
@@ -102,7 +102,9 @@ int main( int argc, char *argv[] )
|
|||||||
|
|
||||||
if ( fds[ 0 ].revents & POLLIN ) {
|
if ( fds[ 0 ].revents & POLLIN ) {
|
||||||
char x = getchar();
|
char x = getchar();
|
||||||
n->get_current_state().key_hit( x );
|
for ( int i = 0; i < 4096; i++ ) {
|
||||||
|
n->get_current_state().key_hit( x );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( fds[ 1 ].revents & POLLIN ) {
|
if ( fds[ 1 ].revents & POLLIN ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user