This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Modified to (only) handle SEARCHD_COMMAND_EXCERPT = 1, VER_COMMAND_EXCERPT = 0x104 | |
# as currently defined in | |
# https://github.com/sphinxsearch/sphinx/blob/master/api/sphinxapi.py | |
import os, sys, base64, select, socket, struct, datetime, time, traceback | |
host_all = '127.0.0.1' | |
port_sql = 0 | |
port_api = 0 | |
packet_max_len = 16384 |