Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jasonrm's full-sized avatar

Jason R. McNeil jasonrm

  • Arizona
  • 02:20 (UTC -07:00)
View GitHub Profile
@jasonrm
jasonrm / qreplay.py
Last active November 24, 2016 08:35 — forked from tomatolog/qreplay.py
# 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