atomicshop 2.19.2__py3-none-any.whl → 2.19.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of atomicshop might be problematic. Click here for more details.

atomicshop/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  """Atomic Basic functions and classes to make developer life easier"""
2
2
 
3
3
  __author__ = "Den Kras"
4
- __version__ = '2.19.2'
4
+ __version__ = '2.19.3'
@@ -247,7 +247,7 @@ def thread_worker_main(
247
247
  if error_string:
248
248
  client_message.errors.append(error_string)
249
249
 
250
- if client_received_raw_data == b'':
250
+ if client_received_raw_data == b'' or client_received_raw_data is None:
251
251
  return
252
252
 
253
253
  client_message.request_auto_parsed = parse_http(client_message.request_raw_bytes, client_message)
@@ -278,7 +278,7 @@ def thread_worker_main(
278
278
  if error_string:
279
279
  client_message.errors.append(error_string)
280
280
 
281
- if service_received_raw_data == b'':
281
+ if service_received_raw_data == b'' or service_received_raw_data is None:
282
282
  return
283
283
 
284
284
  client_message.response_auto_parsed = parse_http(client_message.response_raw_bytes, client_message)
@@ -93,13 +93,13 @@ class Receiver:
93
93
  # A signal to close connection will be empty bytes string: b''.
94
94
  received_data = self.ssl_socket.recv(self.buffer_size_receive)
95
95
  except ConnectionAbortedError:
96
- error_message = "* Connection was aborted by the client. Exiting..."
97
- print_api(error_message, logger=self.logger, logger_method='critical', traceback_string=True)
96
+ error_message = "ConnectionAbortedError: * Connection was aborted by the other side..."
97
+ print_api(error_message, logger=self.logger, logger_method='critical', traceback_string=False)
98
98
  except ConnectionResetError:
99
- error_message = "* Connection was forcibly closed by the client. Exiting..."
100
- print_api(error_message, logger=self.logger, logger_method='critical', traceback_string=True)
99
+ error_message = "ConnectionResetError: * Connection was forcibly closed by the other side..."
100
+ print_api(error_message, logger=self.logger, logger_method='critical', traceback_string=False)
101
101
  except ssl.SSLError:
102
- error_message = "* Encountered SSL error on packet receive. Exiting..."
102
+ error_message = "ssl.SSLError: * Encountered SSL error on receive..."
103
103
  print_api(error_message, logger=self.logger, logger_method='critical', traceback_string=True)
104
104
 
105
105
  if received_data == b'':
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atomicshop
3
- Version: 2.19.2
3
+ Version: 2.19.3
4
4
  Summary: Atomic functions and classes to make developer life easier
5
5
  Author: Denis Kras
6
6
  License: MIT License
@@ -1,4 +1,4 @@
1
- atomicshop/__init__.py,sha256=SBk9Y1eYsyMmy9xWJ483qY8NFoOX5qMgy1HMpVCjXO0,123
1
+ atomicshop/__init__.py,sha256=gyk6mrX1OBCCtPgfOJ948fDBI1E_d4N4iQTn8PeeKhc,123
2
2
  atomicshop/_basics_temp.py,sha256=6cu2dd6r2dLrd1BRNcVDKTHlsHs_26Gpw8QS6v32lQ0,3699
3
3
  atomicshop/_create_pdf_demo.py,sha256=Yi-PGZuMg0RKvQmLqVeLIZYadqEZwUm-4A9JxBl_vYA,3713
4
4
  atomicshop/_patch_import.py,sha256=ENp55sKVJ0e6-4lBvZnpz9PQCt3Otbur7F6aXDlyje4,6334
@@ -128,7 +128,7 @@ atomicshop/file_io/xmls.py,sha256=zh3SuK-dNaFq2NDNhx6ivcf4GYCfGM8M10PcEwDSpxk,21
128
128
  atomicshop/mitm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
129
129
  atomicshop/mitm/config_static.py,sha256=DjSnDtMU8srdqca8s6Q-oFCWgjjiCjXRhyk-nafRAUk,7788
130
130
  atomicshop/mitm/config_toml_editor.py,sha256=2p1CMcktWRR_NW-SmyDwylu63ad5e0-w1QPMa8ZLDBw,1635
131
- atomicshop/mitm/connection_thread_worker.py,sha256=2180oQgD3qRS53zloeALs_vYt66RJWJtnaCqjl2jVs4,28187
131
+ atomicshop/mitm/connection_thread_worker.py,sha256=TzC-wTdCT7NIkO-x0myvGbDItbFPm82PpoRmK22_tjo,28260
132
132
  atomicshop/mitm/import_config.py,sha256=0Ij14aISTllTOiWYJpIUMOWobQqGofD6uafui5uWllE,9272
133
133
  atomicshop/mitm/initialize_engines.py,sha256=-3B8xkXyPOwrC_mDJm_uaW9s56VeV-f6VTu4-8dou2s,8258
134
134
  atomicshop/mitm/message.py,sha256=mNo4Lphr_Jo6IlNX5mPJzABpogWGkjOhwI4meAivwHw,2987
@@ -311,7 +311,7 @@ atomicshop/wrappers/socketw/creator.py,sha256=aSwfN_IwXXf4Hob35vHXUxD_OPeshZcRDZ
311
311
  atomicshop/wrappers/socketw/dns_server.py,sha256=RklzINNuoMQn4PGGQEI5hiAldprbVwwvikY6u9X-jTY,49067
312
312
  atomicshop/wrappers/socketw/exception_wrapper.py,sha256=B-X5SHLSUIWToihH2MKnOB1F4A81_X0DpLLfnYKYbEc,7067
313
313
  atomicshop/wrappers/socketw/get_process.py,sha256=aJC-_qFUv3NgWCSUzDI72E4z8_-VTZE9NVZ0CwUoNlM,5698
314
- atomicshop/wrappers/socketw/receiver.py,sha256=O1h7nhJIRD4KDQxSe6JvYwA-vmKeeP3ONmxF8x6C97M,8207
314
+ atomicshop/wrappers/socketw/receiver.py,sha256=9B3MvcDqr4C3x2fsnjG5SQognd1wRqsBgikxZa0wXG8,8243
315
315
  atomicshop/wrappers/socketw/sender.py,sha256=aX_K8l_rHjd5AWb8bi5mt8-YTkMYVRDB6DnPqK_XDUE,4754
316
316
  atomicshop/wrappers/socketw/sni.py,sha256=T9PXROiTYYxrd_7X4Hoj9hoNPXXTQpa2HdvmBJJIoeA,17607
317
317
  atomicshop/wrappers/socketw/socket_client.py,sha256=oa3GwS4OPgokrJE5_Oc4-5_wlXHxSH9J5f2DKebms8k,22035
@@ -322,8 +322,8 @@ atomicshop/wrappers/socketw/statistics_csv.py,sha256=fgMzDXI0cybwUEqAxprRmY3lqbh
322
322
  atomicshop/wrappers/winregw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
323
323
  atomicshop/wrappers/winregw/winreg_installed_software.py,sha256=Qzmyktvob1qp6Tjk2DjLfAqr_yXV0sgWzdMW_9kwNjY,2345
324
324
  atomicshop/wrappers/winregw/winreg_network.py,sha256=AENV88H1qDidrcpyM9OwEZxX5svfi-Jb4N6FkS1xtqA,8851
325
- atomicshop-2.19.2.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
326
- atomicshop-2.19.2.dist-info/METADATA,sha256=hyYsPo_Wfx0n6Q8cdQNEWsP4RqH5_oo3og7-2M5hFBs,10630
327
- atomicshop-2.19.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
328
- atomicshop-2.19.2.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
329
- atomicshop-2.19.2.dist-info/RECORD,,
325
+ atomicshop-2.19.3.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
326
+ atomicshop-2.19.3.dist-info/METADATA,sha256=Rh6fT-9IvY-K1PhKUFnKe3ow4asjkGDycu6faIOkurU,10630
327
+ atomicshop-2.19.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
328
+ atomicshop-2.19.3.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
329
+ atomicshop-2.19.3.dist-info/RECORD,,