-disconnects DO happen
authorChristian Grothoff <christian@grothoff.org>
Wed, 29 Jun 2016 20:08:15 +0000 (20:08 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 29 Jun 2016 20:08:15 +0000 (20:08 +0000)
src/util/mq.c
src/util/resolver_api.c

index d4c5b164419ff6039e1dba3257ae68b75e5a372c..185fe51704ed4c6e25162e022bb6fd964c56892e 100644 (file)
@@ -162,7 +162,7 @@ struct ServerClientSocketState
   /**
    * Active transmission request to the client.
    */
-  struct GNUNET_SERVER_TransmitHandleth;
+  struct GNUNET_SERVER_TransmitHandle *th;
 };
 
 
@@ -644,7 +644,6 @@ server_client_send_impl (struct GNUNET_MQ_Handle *mq,
   struct ServerClientSocketState *state = impl_state;
 
   GNUNET_assert (NULL != mq);
-  GNUNET_assert (NULL != state);
   state->th = GNUNET_SERVER_notify_transmit_ready (state->client,
                                                   ntohs (msg->size),
                                                   GNUNET_TIME_UNIT_FOREVER_REL,
index 9be7014c2d1ce2662f19e829b5a49e2805d3c18f..b41382683d69ab6d253cf9a7d74ae4d32ebb69a3 100644 (file)
@@ -337,7 +337,6 @@ static void
 mq_error_handler (void *cls,
                   enum GNUNET_MQ_Error error)
 {
-  GNUNET_break (0);
   GNUNET_MQ_destroy (mq);
   mq = NULL;
   reconnect ();