Skip to content

TCP Connection returns EOF for queries after ping #26

Open
@Ekliptor

Description

@Ekliptor

When using the Ping()queries don't work anymore and return EOF from the TCP stream. The obvious workaround is to reconnect after ping (or don't ping). But this should be fixed.

Minimal example to reproduce:

	clTemp := manticore.NewClient()
	clTemp.SetServer("localhost", 9312)
	clTemp.Open()
	clTemp.Ping(123) // if I remove this line the query returns results
	res, err := clTemp.Query("foo", "temprt")
	if err != nil {
		fmt.Printf("Error test querying Manticore %+v", err) // EOF
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions