            #endif

            // Read the query packet
            int i = 0;
            while (len-- > 0 && i < SSDP_RX_PACKET_MAX_SIZE && _httpClient.available())
            {
                _rxPacketBuffer[i++] = _httpClient.read();
            }

            #if SSDP_SERIAL_DEBUG_LEVEL > 1
            Serial.println("SSDP: /-------------------------------");
            Serial.println(_rxPacketBuffer);
            Serial.println("SSDP: -------------------------------/");