if (numberCapabilities)
{
- fprintf(stderr, "%s: strange we haven't read the number of announced capacity sets, read=%d expected=%d\n",
- __FUNCTION__, count-numberCapabilities, count);
+ WLog_ERR(TAG, "strange we haven't read the number of announced capacity sets, read=%d expected=%d",
+ count-numberCapabilities, count);
}
+ /**
+ * If we never received a multifragment update capability set,
+ * then the peer doesn't support fragmentation.
+ */
+ if (!foundMultifragmentUpdate)
+ {
+ settings->MultifragMaxRequestSize = 0;
+ }
+
#ifdef WITH_DEBUG_CAPABILITIES
Stream_GetPointer(s, em);
Stream_SetPointer(s, mark);