(cls, data, metadata)
| 165 | |
| 166 | @classmethod |
| 167 | def tcp_reassemble(cls, data, metadata): |
| 168 | if data and data[0:1] == b"\x00": |
| 169 | length = struct.unpack("!I", data[0:3])[0] |
| 170 | if length == 8: |
| 171 | return SSLRequest(data) |
| 172 | else: |
| 173 | return Startup(data) |
| 174 | else: |
| 175 | return cls(data) |
| 176 | |
| 177 | |
| 178 | class _ZeroPadding(Packet): |
nothing calls this directly
no test coverage detected